/* Button Styles */
.size-guidance .button {
    background-color: #00174f;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* Button Hover State */
.size-guidance .button:hover {
    background-color: #000;
}

/* Overlay Styles */
.size-guidance .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black overlay with opacity */
    z-index: 998; /* Ensure the overlay is behind the modal */
}

/* Modal Styles */
.size-guidance .modal {
    display: none;
    position: fixed;
    top: 10%; /* 10% from the top */
    left: 10%; /* 10% from the left */
    right: 10%; /* 10% from the right */
    bottom: 10%; /* 10% from the bottom */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    z-index: 999;
}

/* Modal Content Styles */
.size-guidance .modal-content {
    background-color: #fff;
    max-height: 80vh; /* Set a maximum height */
    overflow-y: auto; /* Add vertical scroll when content exceeds max-height */
    text-align: center;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); /* Add a minor drop shadow */
}

/* Close Button Styles */
.size-guidance .close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px; /* Set width and height to create a circle */
    height: 30px;
    font-size: 24px;
    line-height: 30px; /* Vertically center the content */
    text-align: center; /* Horizontally center the content */
    cursor: pointer;
    background-color: var(--global-palette1); /* Red circular background */
    border-radius: 50%; /* Make it a circle */
    color: #fff; /* Text color */
}

/* Tab Styles */
.size-guidance .tab {
    overflow: hidden;
}

.size-guidance .tab button {
    float: left;
    padding: 10px;
    background-color: #f2f2f2;
    color: #000;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
}

.size-guidance .tab button:last-child {
    margin-left: 2px;
}

.size-guidance .tab button:hover {
    background-color: var(--global-palette2);
    color: #fff;
}

/* Style for the active tab button */
.size-guidance .tab button.active {
    background-color: var(--global-palette2);
    color: #fff;
}

/* Tab Content Styles */
.size-guidance .tabcontent {
    display: none;
    padding: 20px;
}

/* Additional styles for centering tab content */
.size-guidance .tabcontent {
    text-align: center;
}
