@font-face {
    font-family: 'IranianSans';
    src: url('/main/fonts/IranianSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.gh-sms-body {
    font-family: 'IranianSans', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2f2f2f 100%);
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
    position: relative;
}

.gh-sms-container {
    max-width: 400px;
    width: 90%;
    padding: 30px;
    background: #252525;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.gh-sms-container:hover {
    transform: translateY(-5px);
}

.gh-sms-container::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.2) 0%, transparent 70%);
    animation: glow 12s infinite ease-in-out;
    z-index: -1;
}

@keyframes glow {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.15); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.15; }
}

.gh-sms-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.gh-error {
    color: #ff4d4d;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 77, 77, 0.15);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.gh-sms-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.gh-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gh-form-group label:hover {
    color: #2ecc71;
    transform: translateX(5px);
}

.gh-form-group input {
    padding: 12px;
    font-size: 16px;
    font-family: 'IranianSans', sans-serif;
    background: #333333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.gh-form-group input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    transform: scale(1.02);
}

.gh-captcha-container {
    position: relative;
    background: #333333;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gh-captcha-container:hover {
    transform: translateY(-3px);
}

.gh-captcha-code {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 8px;
    color: #ffffff;
    padding: 8px 12px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    border-radius: 8px;
}

.gh-captcha-code span {
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gh-captcha-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    height: 2px;
    z-index: 2;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.gh-captcha-input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 15px;
    font-family: 'IranianSans', sans-serif;
    background: #333333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.gh-captcha-input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    transform: scale(1.02);
}

.gh-captcha-refresh {
    font-family: 'IranianSans', sans-serif;
    color: #ffffff;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.gh-captcha-refresh:hover {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.gh-btn-submit {
    font-family: 'IranianSans', sans-serif;
    color: #ffffff;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.4);
}

.gh-btn-submit:disabled {
    background: #4a4a4a;
    cursor: not-allowed;
    box-shadow: none;
}

.gh-btn-submit:not(:disabled):hover {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.gh-signup-link {
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gh-signup-link a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gh-signup-link a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .gh-sms-container {
        padding: 20px;
        max-width: 95%;
    }
    .gh-sms-title {
        font-size: 24px;
    }
    .gh-form-group label {
        font-size: 15px;
    }
    .gh-form-group input {
        font-size: 15px;
        padding: 10px;
    }
    .gh-btn-submit {
        font-size: 16px;
        padding: 12px;
    }
    .gh-captcha-code {
        font-size: 18px;
        letter-spacing: 6px;
    }
    .gh-captcha-input {
        font-size: 14px;
        padding: 8px;
    }
    .gh-captcha-refresh {
        font-size: 12px;
        padding: 6px 10px;
    }
    .gh-signup-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gh-sms-container {
        padding: 15px;
    }
    .gh-sms-title {
        font-size: 22px;
    }
    .gh-form-group label {
        font-size: 14px;
    }
    .gh-form-group input {
        font-size: 14px;
        padding: 8px;
    }
    .gh-btn-submit {
        font-size: 15px;
        padding: 10px;
    }
    .gh-captcha-code {
        font-size: 16px;
        letter-spacing: 5px;
    }
    .gh-captcha-input {
        font-size: 13px;
        padding: 6px;
    }
    .gh-captcha-refresh {
        font-size: 11px;
        padding: 5px 8px;
    }
}