/* Base Styles (For larger screens) */
.step {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #a60a0a;
}

.checkout-act {
    position: relative;
}

.title-box {
    font-size: 1.5em;
    color: #a60a0a;
    margin-bottom: 20px;
}

.box-content {
    font-size: 1.5rem;
    color: #555;
}

.pmlink {
    color: #a60a0a;
    text-decoration: none;
    font-weight: bold;
}

.pmlink:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 1.5rem;
    color: #fff;
    background-color: #a60a0a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #900808;
}

#guest-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
}

#guest-popup h4 {
    margin-bottom: 20px;
    color: #a60a0a;
}

#guest-popup label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#guest-popup input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#guest-popup .btn-submit {
    width: 100%;
    background-color: #a60a0a;
}

.gender-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gender-options label {
    margin: 0;
    font-size: 0.9rem;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.txt-desc {
    margin: 15px 0;
    color: #555;
}

.gender-options {
    display: flex;
    gap: 20px;
}

.gender-options label {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px; /* Add a small gap between the checkbox and text */
}

body.popup-active {
    overflow: hidden; /* Prevent scrolling */
    background-color: rgba(0, 0, 0, 0.3); /* Darker effect */
}

body.popup-active #overlay {
    display: block;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    color: #a60a0a;
    cursor: pointer;
    font-weight: bold;
}

.close-icon:hover {
    color: #900808;
}

@media (max-width: 768px) {
    .step {
        padding: 15px;
        border-radius: 8px;
    }

    .title-box {
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .box-content {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    #guest-popup {
        width: 95%;
        max-width: 400px;
        padding: 15px;
    }

    #guest-popup h4 {
        font-size: 1.2em;
    }

    #guest-popup label {
        font-size: 0.9rem;
    }

    #guest-popup input {
        padding: 8px;
        font-size: 0.9rem;
    }

    .gender-options label {
        font-size: 0.8rem;
        gap: 3px;
    }

    .close-icon {
        top: 5px;
        right: 10px;
        font-size: 1.2rem;
    }

    .overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}
