/* Customer Login Prompt Overlay */
.customer-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.customer-prompt-overlay.show {
    visibility: visible;
    opacity: 1;
}

.customer-prompt-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    animation: promptSlideIn 0.3s ease-out;
}

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

.prompt-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.prompt-close:hover {
    color: #333;
}

.prompt-content {
    padding: 40px 30px 30px 30px;
}

.prompt-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

.prompt-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.prompt-customer-info {
    background: #f5f5f5;
    border-left: 4px solid #42B22C;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.prompt-customer-info p {
    margin: 8px 0;
    font-size: 14px;
}

.prompt-customer-info strong {
    color: #333;
    min-width: 80px;
    display: inline-block;
}

/* Login Form Styling */
.prompt-login-form {
    margin-top: 20px;
}

.prompt-form-group {
    margin-bottom: 16px;
}

.prompt-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.prompt-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #C8C8D0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.prompt-form-group input:focus {
    outline: none;
    border-color: #42B22C;
    box-shadow: 0 0 0 3px rgba(66, 178, 44, 0.1);
}

.prompt-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.prompt-actions .button {
    flex: 1;
    min-width: 150px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-login-btn {
    background-color: #42B22C;
    color: white;
}

.prompt-login-btn:hover {
    background-color: #368b21;
    box-shadow: 0 2px 8px rgba(66, 178, 44, 0.3);
}

.button-secondary.prompt-continue-btn {
    background-color: #f0f0f0;
    color: #333;
}

.button-secondary.prompt-continue-btn:hover {
    background-color: #e0e0e0;
}

/* Forgot Password Link */
.prompt-forgot-password {
    text-align: center;
    margin-top: 15px;
}

.prompt-forgot-password a {
    color: #42B22C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.prompt-forgot-password a:hover {
    color: #368b21;
    text-decoration: underline;
}

/* Forgot Password Form */
.forgot-password-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.prompt-back-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
}

.prompt-back-link:hover {
    color: #333;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    .customer-prompt-modal {
        width: 95%;
    }

    .prompt-content {
        padding: 30px 20px 20px 20px;
    }

    .prompt-content h2 {
        font-size: 20px;
    }

    .prompt-actions {
        flex-direction: column;
    }

    .prompt-actions .button {
        min-width: auto;
        width: 100%;
    }
}
