/**
 * Cart Login Popup CSS
 * Specific styles for the cart login popup only
 */

/* CB Orders Login Popup Styles */
.cb-login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.cb-login-popup {
    background-color: #222;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: loginPopupFadeIn 0.3s ease-out;
    border: 1px solid #444;
    color: #fff;
}

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

.cb-login-popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #444;
    position: relative;
}

.cb-login-popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e60000;
}

.cb-login-popup-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #e60000;
}

.cb-login-popup-content {
    padding: 20px;
}

.cb-login-popup-message {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.cb-login-popup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cb-login-popup-button {
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cb-login-popup-button.login {
    background-color: #e60000;
    color: white;
}

.cb-login-popup-button.login:hover {
    background-color: #cc0000;
    box-shadow: 0 2px 10px rgba(230, 0, 0, 0.4);
    transform: translateY(-2px);
}

.cb-login-popup-button.cancel {
    background-color: #333;
    color: #fff;
}

.cb-login-popup-button.cancel:hover {
    background-color: #444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .cb-login-popup {
        width: 95%;
    }
    
    .cb-login-popup-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .cb-login-popup-button {
        min-width: 100px;
    }
} 