/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Container for the tab links and content */
.selectitem {
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    margin: 50px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

/* Tab links at the top */
.tab {
    display: flex;
    justify-content: center;
    background-color: #333;
}

/* Style the tab links */
.tab button {
    background-color: inherit;
    color: white;
    border: none;
    outline: none;
    padding: 14px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1em;
    flex: 1;
    text-align: center;
}

.tab button:hover {
    background-color: #555;
}

/* Active/current tab link */
.tab button.active {
    background-color: #555;
    font-weight: 600;
}

/* Tab content styling */
.tabcontent {
    display: none;
    padding: 20px 30px;
    background-color: #f9f9f9;
    color: #333;
    animation: fadeEffect 0.5s;
}

/* Show the first tab content by default */
.tabcontent:first-of-type {
    display: block;
}

/* Fade in animation for tab content */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Responsive Design */

/* Responsive Design */
@media (max-width: 600px) {
    .tab button {
        padding: 10px;
        font-size: 0.9em;
    }

    .tabcontent {
        padding: 15px 20px;
    }
}

/* Additional Responsive Adjustments for Very Small Screens */
@media (max-width: 400px) {
    .tab button {
        font-size: 0.8em;
    }

    .tabcontent {
        padding: 10px;
    }
}