﻿.custom-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

    .popup-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #333;
    }

/* Use flexbox to align buttons side by side */
.popup-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popup-buttons {
    flex: 1 1 100px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    max-width: 130px;
}


#cancelBtn {
    background-color: #e0e0e0;
    color: #333;
}

@media (max-width: 768px) {
    .custom-popup {
        margin-top: 40px;
        max-width:  60% !important;
        align-content: center;
        align-items: center;

    }
    .popup-content p {
        font-size: 0.95rem;
    }

    .popup-buttons-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .popup-buttons {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}
@media (max-width: 360px) {
    .popup-buttons {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}
#moveToNextPartBtn {
    background-color: green;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    #moveToNextPartBtn:hover {
        background-color: #3bdb3b; /* Darker green */
        color: #fff;
    }

@media(max-width: 1240px) {
    .popup {
        margin-top: 20px;
        max-width: 90%;
    }

    .popup-txt {
        padding: 12px;
    }

    .popup-footer p {
        font-size: 0.9rem;
    }

    .popup-close {
        font-size: 0.9rem;
        padding: 6px 12px;
        width: auto;
    }}
@media (max-width: 360px) {
    .menu-label-link {
        display: none;
    }
}