/* Main Style */

* {
    font-family:Vazir,sans-serif;
}

body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width:320px; width: auto !important; 
    width:320px;
}

body, .privacy-agreement {
    direction: rtl;
    text-align: right;
}

input[type="text"], input[type="email"], input[type="password"] {
    text-align: left;
    direction: ltr;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 50px 10px;
    box-sizing: border-box;
    margin: auto;
}

#login {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
    margin: 10px 0;
}

#timer, #verify_timer {
    font-size: 16px;
    color: black;
    margin-top: 5px;
    text-align: center;
}

#expired-message, #verify_expired_message {
    color: red;
    text-align: center;
}

.wohil-logo {
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    height: 84px;
    vertical-align: middle;
}

.wohil-logo:hover {
    text-decoration: none;
}

.site-logo {
    display: inline-block;
    vertical-align: middle;
    background: rgb(7 125 234);
    background: linear-gradient(220deg, rgb(22 159 248) 0%, rgb(5 107 227) 100%);
    border-radius: 50%;
    color: #fff;
    height: 50px;
    width: 50px;
    margin-top: 5px;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

form p {
    text-align: left;
    margin-bottom: 15px;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 20px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    background: #f0f1f5;
}

.verify-reset-password {
    margin-bottom: -20px;
}

.error {
    color: red;
}
        
.success {
    color: green;
}
        
.error p, .success p {
   margin: 0;
}

#countdown-timer {
    color: black; 
    text-align: center; 
    font-size: 16px; 
    margin-top: 10px;
}

input[type="button"], input[type="submit"] {
    background-color: #0066ff;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
}

input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #004db3;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #666;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.toggle-password:hover {
    opacity: 0.7;
}

.toggle-password.visible {
    opacity: 1;
}

.privacy-agreement {
    color: #333;
    margin-bottom: 20px;
    padding: 5px;
    background: #f0f1f5;
    padding: 15px;
    border-radius: 10px;
}

.forgot-link {
    display: block;
    margin-top: -10px; 
    margin-left: 5px;
    font-size: 14px;
}

.forgot-link.below-next {
    text-align: center;
    margin-top: 10px;
    margin-left: 0;
    font-size: 16px;
}

.forgot-and-code {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.send-code-link a {
    color: #0066ff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 7px;
    border: 1.5px solid #0066ff;
    transition: all 0.3s ease;
}

.send-code-link a:hover {
    text-decoration: none;
    background: #004db3;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 77, 179, 0.3);
}

.send-code-link {
    margin-top: -5px;
}

.back-link {
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
}

.back-link a {
    color: #0066ff;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
    color: #004db3;
}

.register-button {
    display: block;
    background-color: #0066ff14;
    color: #003eff;
    padding: 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.register-button:hover {
    background-color: #0066ff1f;
    text-decoration: none; 
}

.register-button:focus,
.register-button:active {
    background-color: #0066ff1f;
    text-decoration: none;
}

.google-login {
    background-color: #8800ff0a;
    color: #5200ff;
    padding: 20px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: -5px;
    transition: all 0.3s ease;
}

.google-login:hover {
    background-color: #8800ff0f;
    color: #5200ff;
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.divider span {
    padding: 0 10px;
    font-size: 14px;
    color: #666;
}

.email-group {
    margin-bottom: -20px;
}

.email-group-two, .register-username {
    margin-bottom: -10px;
}

.field-spacing {
    margin-bottom: -20px;
}

.field-spacing-two {
    margin-bottom: -20px;
}

.error {
    color: red;
}

.success, .verify-send-code-mail {
    color: green;
}

a {
    color: #003eff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    transition: text-decoration-color 0.3s ease-in-out;
    text-underline-offset: 4px; 
}

a:hover {
    text-decoration: underline;
    text-decoration-color: #0066ff;
}

.privacy-container {
    padding: 0;
}
.container-pv {
    padding: 0 10px;
    text-align: right;
}

.footer-links-outside {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 15px auto 0;
    text-align: center;
}

.footer-links-outside-gp {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 600px;
    margin: 15px auto 0;
}

.footer-links-outside a, .footer-links-outside-gp a {
    color: #003eff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    position: relative;
    display: inline-block;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    transition: text-decoration-color 0.3s ease-in-out, color 0.3s ease-in-out; 
}

.footer-links-outside a:hover, .footer-links-outside-gp a:hover {
    text-decoration: underline;
    text-decoration-color: #004db3;
    color: #004db3; 
}