#exampleModal .login-container {
    width: 100%;
    max-width: 400px;
}

#exampleModal .login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

#exampleModal .login-header {
    text-align: center;
    margin-bottom: 32px;
}

#exampleModal .logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#exampleModal .login-header h1 {
    color: #1a1f36;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

#exampleModal .login-header p {
    color: #8792a2;
    font-size: 14px;
    font-weight: 400;
}

/* Input Groups with Floating Labels */
#exampleModal .input-group {
    position: relative;
    margin-bottom: 24px;
}

#exampleModal .input-group input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 16px 14px 8px 14px;
    color: #1a1f36;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

#exampleModal .input-group input:focus {
    border-color: #008eff;
}

#exampleModal .input-group input::placeholder {
    color: transparent;
}

#exampleModal .input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8792a2;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 2px;
}

#exampleModal .input-group input:focus+label,
#exampleModal .input-group input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: #2c96ea;
    transform: translateY(-50%);
}

#exampleModal .input-group input:not(:focus):not(:placeholder-shown)+label {
    color: #6b7385;
}

/* Custom Border Animation */
#exampleModal .input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c96ea;
    transition: width 0.3s ease;
}

#exampleModal .input-group input:focus~#exampleModal .input-border {
    width: 100%;
}

/* Password Toggle */
#exampleModal .input-group:has(.password-toggle) input {
    padding-right: 42px;
}

#exampleModal .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8792a2;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#exampleModal .password-toggle:hover {
    color: #008eff;
}

/* Form Options */
#exampleModal .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

#exampleModal .checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7385;
    font-weight: 500;
}

#exampleModal .checkbox-container input[type="checkbox"] {
    display: none;
}

#exampleModal .checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d9e0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

#exampleModal .checkbox-container input[type="checkbox"]:checked+.checkmark {
    background: #2c96ea;
    border-color: #008eff;
    color: white;
}

#exampleModal .forgot-link {
    color: #2c96ea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

#exampleModal .forgot-link:hover {
    color: #008eff;
}

/* Submit Button */
#exampleModal .submit-btn {
    width: 100%;
    background: #2c96ea;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#exampleModal .submit-btn:hover {
    background: #008eff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(0 142 255 / 40%);
}

#exampleModal .submit-btn:active {
    transform: translateY(0);
}

#exampleModal .submit-btn:disabled {
    background: #a2a7b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#exampleModal .btn-text {
    transition: opacity 0.2s ease;
}

#exampleModal .btn-loader {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #ffffff;
}

#exampleModal .submit-btn.loading .btn-text {
    opacity: 0;
}

#exampleModal .submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Divider */
#exampleModal .divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

#exampleModal .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e8ee;
}

#exampleModal .divider span {
    background: #ffffff;
    color: #8792a2;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Buttons */
#exampleModal .social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

#exampleModal .social-btn {
    flex: 1;
    background: #ffffff;
    color: #6b7385;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-height: 44px;
}

#exampleModal .social-btn:hover {
    border-color: #d1d9e0;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#exampleModal .social-btn:active {
    transform: translateY(0);
}

/* Signup Link */
#exampleModal .signup-link {
    text-align: center;
    font-size: 14px;
    color: #8792a2;
}

#exampleModal .signup-link a {
    color: #2c96ea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

#exampleModal .signup-link a:hover {
    color: #008eff;
    text-decoration: underline;
}

/* Error States */
#exampleModal .error-message {
    color: #f56565;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    opacity: 1;
}

#exampleModal .error-message.show {
    opacity: 1;
    transform: translateY(0);
}

#exampleModal .input-group.error input {
    border-color: #f56565;
    background: #fef5f5;
}

#exampleModal .input-group.error input:focus {
    border-color: #f56565;
}

#exampleModal .input-group.error label {
    color: #f56565;
}

#exampleModal .input-group.error .input-border {
    background: #f56565;
}

/* Success Message */
#exampleModal .success-message {
    display: none;
    text-align: center;
    padding: 32px 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

#exampleModal .success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#exampleModal .success-icon {
    margin: 0 auto 16px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

#exampleModal .success-message h3 {
    color: #1a1f36;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

#exampleModal .success-message p {
    color: #8792a2;
    font-size: 14px;
}

#exampleModal .modal-dialog {
    width: 400px;
}

.closeBtn {
    position: absolute;
    right: 10px;
    top: 0;
    color: #dc3545;
    font-weight: 800;
}

/* Mobile Responsive */
@media (max-width: 720px) {

    #exampleModal .login-card {
        padding: 36px 28px;
        border-radius: 8px;
        height: 100vh;
    }

    .close-filter {
        position: fixed;
        right: 10px;
        top: 10px;
    }

    #exampleModal .login-header h1 {
        font-size: 1.375rem;
    }

    #exampleModal .form-options {
        align-items: flex-start;
        gap: 16px;
    }

    #exampleModal .modal-dialog {
        width: 100%;
        height: 100vh;
    }

    #exampleModal .login-container {
        width: 100%;
        max-width: 100%;
    }

    .scroll-tops.show {
        display: block;
    }
}

#queryModal .login-container {
    width: 100%;
    max-width: 400px;
}

#queryModal .login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

#queryModal .login-header {
    text-align: center;
    margin-bottom: 32px;
}

#queryModal .logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#queryModal .login-header h1 {
    color: #1a1f36;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

#queryModal .login-header p {
    color: #8792a2;
    font-size: 14px;
    font-weight: 400;
}

/* Input Groups with Floating Labels */
#queryModal .input-group {
    position: relative;
    margin-bottom: 24px;
}

#queryModal .input-group input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 16px 14px 8px 14px;
    color: #1a1f36;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

#queryModal .input-group input:focus {
    border-color: #008eff;
}

#queryModal .input-group input::placeholder {
    color: transparent;
}

#queryModal .input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8792a2;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 2px;
}

#queryModal .input-group input:focus+label,
#queryModal .input-group input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: #2c96ea;
    transform: translateY(-50%);
}

#queryModal .input-group input:not(:focus):not(:placeholder-shown)+label {
    color: #6b7385;
}

/* Custom Border Animation */
#queryModal .input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c96ea;
    transition: width 0.3s ease;
}

#queryModal .input-group input:focus~#queryModal .input-border {
    width: 100%;
}

/* Password Toggle */
#queryModal .input-group:has(.password-toggle) input {
    padding-right: 42px;
}

#queryModal .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8792a2;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#queryModal .password-toggle:hover {
    color: #008eff;
}

/* Form Options */
#queryModal .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

#queryModal .checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7385;
    font-weight: 500;
}

#queryModal .checkbox-container input[type="checkbox"] {
    display: none;
}

#queryModal .checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d9e0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

#queryModal .checkbox-container input[type="checkbox"]:checked+.checkmark {
    background: #2c96ea;
    border-color: #008eff;
    color: white;
}

#queryModal .forgot-link {
    color: #2c96ea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

#queryModal .forgot-link:hover {
    color: #008eff;
}

/* Submit Button */
#queryModal .submit-btn {
    width: 100%;
    background: #2c96ea;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#queryModal .submit-btn:hover {
    background: #008eff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(0 142 255 / 40%);
}

#queryModal .submit-btn:active {
    transform: translateY(0);
}

#queryModal .submit-btn:disabled {
    background: #a2a7b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#queryModal .btn-text {
    transition: opacity 0.2s ease;
}

#queryModal .btn-loader {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #ffffff;
}

#queryModal .submit-btn.loading .btn-text {
    opacity: 0;
}

#queryModal .submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Divider */
#queryModal .divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

#queryModal .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e8ee;
}

#queryModal .divider span {
    background: #ffffff;
    color: #8792a2;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Buttons */
#queryModal .social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

#queryModal .social-btn {
    flex: 1;
    background: #ffffff;
    color: #6b7385;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-height: 44px;
}

#queryModal .social-btn:hover {
    border-color: #d1d9e0;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#queryModal .social-btn:active {
    transform: translateY(0);
}

/* Signup Link */
#queryModal .signup-link {
    text-align: center;
    font-size: 14px;
    color: #8792a2;
}

#queryModal .signup-link a {
    color: #2c96ea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

#queryModal .signup-link a:hover {
    color: #008eff;
    text-decoration: underline;
}

/* Error States */
#queryModal .error-message {
    color: #f56565;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    opacity: 1;
}

#queryModal .error-message.show {
    opacity: 1;
    transform: translateY(0);
}

#queryModal .input-group.error input {
    border-color: #f56565;
    background: #fef5f5;
}

#queryModal .input-group.error input:focus {
    border-color: #f56565;
}

#queryModal .input-group.error label {
    color: #f56565;
}

#queryModal .input-group.error .input-border {
    background: #f56565;
}

/* Success Message */
#queryModal .success-message {
    display: none;
    text-align: center;
    padding: 32px 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

#queryModal .success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#queryModal .success-icon {
    margin: 0 auto 16px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

#queryModal .success-message h3 {
    color: #1a1f36;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

#queryModal .success-message p {
    color: #8792a2;
    font-size: 14px;
}

#queryModal .modal-dialog {
    width: 400px;
}

button.-refresh img {
    width: 20px;
}

#queryModal .input-group textarea {
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 720px) {

    #queryModal .login-card {
        padding: 36px 28px;
        border-radius: 8px;
        height: 100vh;
    }

    #queryModal .login-header h1 {
        font-size: 1.375rem;
    }

    #queryModal .form-options {
        align-items: flex-start;
        gap: 16px;
    }

    #queryModal .modal-dialog {
        width: 100%;
        height: 100vh;
        margin: 0;
    }

    #queryModal .login-container {
        width: 100%;
        max-width: 100%;
    }

    input#mainCaptcha {
        background: #ffff96 !important;
        width: 40% !important;
        color: #000 !important;
        border: 0 !important;
        height: 30px;
    }
}