/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 2px solid #888;
	top: -18%;
    width: 50%;
    border-radius: 10px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.confirmation-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tick-circle {
    background-color: #178abf;
    border-radius: 50%;
    width: 40px; /* Ensuring width and height are equal */
    height: 40px; /* Ensuring width and height are equal */
    display: flex; /* Flexbox to center the SVG */
    align-items: center; /* Center the SVG vertically */
    justify-content: center; /* Center the SVG horizontally */
    margin-right: 10px;
}

.tick-circle svg {
    fill: white;
    width: 20px; /* Set a width for the SVG */
    height: 20px; /* Set a height for the SVG */
}

.added-to-cart {
    font-size: 16px;
    color: #161716;
    font-weight: bold;
}

.confirmation-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.confirmation-content img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
}


.confirmation-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
}

.confirmation-auth-title {
    display: flex;
    align-items: flex-start;
    margin-right: 20px;
}

.confirmation-text h2 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight:var(--font-weight-bold); 
}

.confirmation-text p {
    font-size: 16px;
    color: #777;
    margin-bottom: 10px;
}

.confirmation-content button {
    padding: 10px 20px;
    background-color: #178abf;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    min-width: 160px; /* ✅ Force minimum width */
}

.confirmation-content button:hover {
    background-color: #147ca8;
}

/* ✅ Large Desktops (min-width: 1920px) */
@media (min-width: 1920px) {
    .modal-content {
        width: 90%;
        max-width: 1000px;
        padding: 18px;
        top: -10%;
    }

    /* Adjust font sizes for smaller laptops */
    .added-to-cart {
        font-size: 22px;
    }

    .confirmation-content img {
        width: 120px;
        height: 70px;
        margin-right: 24px;
    }

    .confirmation-text h2 {
        font-size: 22px;
    }

    .confirmation-text p {
        font-size: 20px;
    }

    .confirmation-content button {
        font-size: 20px;
        padding: 9px 18px;
    }
}


/* ✅ Standard Laptops (max-width: 1280px) */
@media (max-width: 1280px) {
    .modal-content {
        width: 90%;
        max-width: 800px;
        padding: 18px;
        top: -10%;
    }

    /* Adjust font sizes for smaller laptops */
    .added-to-cart {
        font-size: 18px;
    }

    .confirmation-content img {
        width: 90px;
        height: 54px;
        margin-right: 16px;
    }

    .confirmation-text h2 {
        font-size: 18px;
    }

    .confirmation-text p {
        font-size: 16px;
    }

    .confirmation-content button {
        font-size: 16px;
        padding: 9px 18px;
    }
}


/* ✅ Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .modal-content {
        width: 90%;
        max-width: 700px;
        padding: 15px;
        top: -10%;
    }

    /* Adjust font sizes for smaller laptops */
    .added-to-cart {
        font-size: 16px;
    }

    .confirmation-content img {
        width: 80px;
        height: 48px;
        margin-right: 12px;
    }

    .confirmation-text h2 {
        font-size: 16px;
    }

    .confirmation-text p {
        font-size: 15px;
    }

    .confirmation-content button {
        font-size: 15px;
        padding: 8px 16px;
    }
}