/* Login Modal Styles */
.login-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    animation: modalFadeIn 0.3s;
}

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

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.login-modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.login-modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    transition: color 0.2s;
}

.login-modal-close:hover {
    color: #e41e26;
}

.login-modal-body {
    padding: 10px 0;
}

/* Navigation Buttons Container */
.login-modal .summary-buttons-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.login-modal .summary-buttons-nav .btn {
    margin-left: 15px;
    flex-grow: 1;
}

/* Mobile Responsive Adjustments */
@media (max-width: 576px) {
    .login-modal-content {
        width: 90%;
        margin: 30px auto;
    }

    .login-modal-header h3 {
        font-size: 20px;
    }

    .login-modal .summary-buttons-nav {
        flex-direction: column;
    }

    .login-modal .summary-buttons-nav .btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}
