﻿@font-face {
  font-family: 'iranyekan';
  src: url('/Content/Src/Fonts/iranyekan.ttf') format('truetype');
}

body {
  font-family: iranyekan, 'Century Gothic' !important;
  background-image: url("../../Images/Mellat/background.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 103% 100%;
  overflow-x: hidden;
}
@media (max-width:481px) {

    body {
        background-image: url("../../Images/Mellat/background-mobile.jpg");
    }

    /* .login-box img { */
    /* display: none; */
    /* } */

    .login-box p {
        padding-top: 8px;
    }
}

.logo-name {
  color: #000000;
  font-weight: bold;
  font-size: 2em;
  margin: 15px auto !important;
}

.login-box {
    background-color: #fff;
    margin: 0 auto;
    width: 80%;
    box-shadow: #333 0 1px 5px;
    margin-bottom: 15px;
    border-radius: 10px;
}


.login-form {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 15px;
}

.hint-title {
  color: #27b2d1;
  margin: 10px;
  font-size: 14px;
  font-weight: bold;
}

.button-login {
  background: none;
  border: none;
  background-color: #27b2d1;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.button-login:hover {
  animation: pulse 1.5s ease-in-out infinite;
}
.login-help-button {
	  display: inline-block;

  transition: all 0.3s ease-in-out;
}

.login-help-button:hover {
  animation: pulse 1s ease-in-out infinite;
}


#AlertBox {
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 9999;
}

.login-help-button {
  position: relative;
  top: 20px;
  right: 0;
}

.login-tell-button {
  position: relative;
  top: 20px;
  left: 0;
}

/* Margin classes */
.mg-5px { margin: 5px; }
.mg-10px { margin: 10px; }
.mg-15px { margin: 15px; }
.mg-20px { margin: 20px; }
.mg-25px { margin: 25px; }
.mg-30px { margin: 30px; }

.mg-l-5px { margin-left: 5px; }
.mg-l-10px { margin-left: 10px; }
.mg-l-15px { margin-left: 15px; }
.mg-l-20px { margin-left: 20px; }
.mg-l-25px { margin-left: 25px; }
.mg-l-30px { margin-left: 30px; }

.mg-r-5px { margin-right: 5px; }
.mg-r-10px { margin-right: 10px; }
.mg-r-15px { margin-right: 15px; }
.mg-r-20px { margin-right: 20px; }
.mg-r-25px { margin-right: 25px; }
.mg-r-30px { margin-right: 30px; }

.mg-b-5px { margin-bottom: 5px; }
.mg-b-10px { margin-bottom: 10px; }
.mg-b-15px { margin-bottom: 15px; }
.mg-b-20px { margin-bottom: 20px; }
.mg-b-25px { margin-bottom: 25px; }
.mg-b-30px { margin-bottom: 30px; }

.mg-t-5px { margin-top: 5px; }
.mg-t-10px { margin-top: 10px; }
.mg-t-15px { margin-top: 15px; }
.mg-t-20px { margin-top: 20px; }
.mg-t-25px { margin-top: 25px; }
.mg-t-30px { margin-top: 30px; }

/* Padding classes */
.pd-5px { padding: 5px; }
.pd-10px { padding: 10px; }
.pd-15px { padding: 15px; }
.pd-20px { padding: 20px; }
.pd-25px { padding: 25px; }
.pd-30px { padding: 30px; }

.pd-l-5px { padding-left: 5px; }
.pd-l-10px { padding-left: 10px; }
.pd-l-15px { padding-left: 15px; }
.pd-l-20px { padding-left: 20px; }
.pd-l-25px { padding-left: 25px; }
.pd-l-30px { padding-left: 30px; }

.pd-r-5px { padding-right: 5px; }
.pd-r-10px { padding-right: 10px; }
.pd-r-15px { padding-right: 15px; }
.pd-r-20px { padding-right: 20px; }
.pd-r-25px { padding-right: 25px; }
.pd-r-30px { padding-right: 30px; }

.pd-b-5px { padding-bottom: 5px; }
.pd-b-10px { padding-bottom: 10px; }
.pd-b-15px { padding-bottom: 15px; }
.pd-b-20px { padding-bottom: 20px; }
.pd-b-25px { padding-bottom: 25px; }
.pd-b-30px { padding-bottom: 30px; }

.pd-t-5px { padding-top: 5px; }
.pd-t-10px { padding-top: 10px; }
.pd-t-15px { padding-top: 15px; }
.pd-t-20px { padding-top: 20px; }
.pd-t-25px { padding-top: 25px; }
.pd-t-30px { padding-top: 30px; }

/* Float */
.float-left { float: left; }
.float-right { float: right; }

/* Colors */
.color-red { color: #ea4335; }
.color-blue { color: #4285f4; }
.color-yellow { color: #fbbc05; }
.color-green { color: #34a853; }
.color-white { color: #fff; }

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.03); }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.highlight-box {
  position: absolute;
  border: 3px solid #fff;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
  transition: all 0.3s ease-in-out;
}

.highlight-box:hover {
  animation: pulse 2s ease-in-out infinite;
}

.hint-box {
  position: absolute;
  background: white;
  color: #333;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  z-index: 10000;
  max-width: 300px;
  transition: all 0.3s ease-in-out;
  animation: fadeInUp 0.4s ease-out;
}

.hint-box:hover {
  animation: pulse 2s ease-in-out infinite;
}

.hint-button {
  margin-top: 10px;
  display: inline-block;
  background: #27b2d1;
  color: white;
  padding: 5px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
  z-index: 10;
  position: relative;
}
input[type="text"],
input[type="password"] {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-in-out;
}

input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus {
  transform: scale(1.05);
}
