/* Unit Converter Specific Styles */

/* Unit Tabs */
.unit-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.unit-tab {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #F5F5F5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.unit-tab:hover {
    background: #E8E8E8;
}

.unit-tab.active {
    background: #319C80;
    color: #fff;
}

/* Tab Content */
.unit-tab-content {
    display: none;
}

.unit-tab-content.active {
    display: block;
}

/* Converter Form */
.converter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.converter-input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.converter-equals {
    font-size: 24px;
    font-weight: 700;
    color: #319C80;
    padding: 8px 0;
}

.result-input {
    background: #F0F9F6 !important;
    color: #319C80;
    font-weight: 600;
}

@media (min-width: 600px) {
    .converter-form {
        flex-direction: row;
        align-items: flex-start;
    }

    .converter-input-group {
        flex: 1;
    }

    .converter-equals {
        padding: 14px 16px 0;
    }
}
