.tabs-nav {
    display: flex;
    background: #e2e8f0;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

.tab-input { display: none; }
.tab-label {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    cursor: pointer;
    z-index: 1;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
}

#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"] {
    background: #1e7e83;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.content-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    min-height: 200px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tab1:checked ~ .content-container .content1,
#tab2:checked ~ .content-container .content2 {
    display: block;
}

@media (max-width: 480px) {
    .tabs-nav {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    .tab-label {
        background: #ffffff;
        margin-bottom: 8px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }
    #tab1:checked ~ .tabs-nav label[for="tab1"],
    #tab2:checked ~ .tabs-nav label[for="tab2"] {
        border-color:#1e7e83;
        background: #1e7e83;
        color: #ffffff;
    }
}