/* Sign In Modal Styles */
.signin-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.signin-modal {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signin-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.signin-modal-close:hover {
    color: #000;
}

.signin-modal-content {
    text-align: left;
}

.signin-logo {
    text-align: center;
    margin-bottom: 20px;
}

.signin-logo img {
    width: 80px;
    height: auto;
}

.signin-modal h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #0F1111;
}

.signin-modal .form-group {
    margin-bottom: 20px;
}

.signin-modal label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0F1111;
}

.signin-modal input[type="text"],
.signin-modal input[type="email"],
.signin-modal input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #888C8C;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}

.signin-modal input[type="text"]:focus,
.signin-modal input[type="email"]:focus,
.signin-modal input[type="password"]:focus {
    outline: none;
    border-color: #007185;
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.2);
}

.password-hint {
    display: block;
    font-size: 11px;
    color: #565959;
    margin-top: 5px;
}

.signin-continue-btn {
    width: 100%;
    padding: 12px;
    background: #4A7C9E;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
    position: relative;
}

.signin-continue-btn:disabled {
    background: #94a3ad;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-block;
    margin-left: 8px;
}

.signin-continue-btn:hover:not(:disabled) {
    background: #3d6580;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 158, 0.4);
}

.signin-continue-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 124, 158, 0.3);
}

.signin-terms {
    font-size: 12px;
    color: #0F1111;
    line-height: 1.5;
    margin-bottom: 20px;
}

.signin-terms a {
    color: #007185;
    text-decoration: none;
}

.signin-terms a:hover {
    text-decoration: underline;
    color: #c7511f;
}

.signin-help {
    margin-bottom: 20px;
}

.signin-help a {
    color: #007185;
    font-size: 13px;
    text-decoration: none;
}

.signin-help a:hover {
    text-decoration: underline;
    color: #c7511f;
}

.signin-divider {
    position: relative;
    margin: 30px 0;
    border-bottom: 1px solid #e7e7e7;
    text-align: center;
}

.signin-divider span {
    position: relative;
    top: -12px;
    background: white;
    padding: 0 15px;
    color: #767676;
    font-size: 13px;
}

/* Social Sign In Buttons */
.social-signin {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.google-btn {
    background: white;
    border: 1px solid #dadce0;
    color: #3c4043;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.apple-btn {
    background: #000;
    border: 1px solid #000;
    color: white;
}

.apple-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-btn svg {
    flex-shrink: 0;
}

.signin-toggle {
    text-align: center;
    margin-top: 20px;
}

.signin-toggle p {
    font-size: 13px;
    color: #0F1111;
    margin-bottom: 10px;
}

.toggle-mode-btn {
    background: white;
    border: 1px solid #D5D9D9;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 13px;
    color: #0F1111;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.toggle-mode-btn:hover {
    background: #f7f7f7;
    border-color: #888C8C;
}

.auth-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
    animation: slideIn 0.3s ease;
}

.auth-message.error {
    background: #FEF5F5;
    border: 1px solid #E53E3E;
    color: #C53030;
}

.auth-message.success {
    background: #F0FFF4;
    border: 1px solid #38A169;
    color: #2F855A;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signin-business {
    text-align: center;
}

.signin-business h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F1111;
}

.signin-business a {
    color: #007185;
    text-decoration: none;
    font-size: 13px;
}

.signin-business a:hover {
    text-decoration: underline;
    color: #c7511f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signin-modal {
        width: 95%;
        padding: 30px 20px;
    }
    
    .signin-modal h2 {
        font-size: 22px;
    }
}
