/* ================================================================= */
/*                         Allgemeine Stile                         */
/* ================================================================= */

@import url('../css/variables.css');

/* ==================== Grundstruktur der Seite ==================== */
.pricing-dropdown-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f3f4ed;
}

.pricing-dropdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #ccc;
}

/* ==================== Dropdown Styling ==================== */
.dropdown-wrapper {
    background-color: white;
    padding: 0.5rem 2rem;
    border-radius: 9999px;
}

.dropdown-select {
    background: none;
    border: none;
    color: #000;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
}

/* ==================== Standard Select Styling ==================== */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 2px solid #00aaff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    cursor: pointer;
}

/* ================================================================= */
/*                         Pricing Tabelle                          */
/* ================================================================= */

/* ==================== Grundstruktur der Tabelle ==================== */
.pricing-table-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #0000006e;
    padding: 2rem;
    border-radius: 30px;
}

.pricing-table-header {
    color: #000000;
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.pricing-table {
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    border-radius: 20px;
    padding: 1rem;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.pricing-table th {
    text-align: left;
}

/* ================================================================= */
/*                         Responsive Design                         */
/* ================================================================= */

/* ==================== Anpassungen für Tablets (≤ 768px) ==================== */
@media (max-width: 768px) {
    .pricing-dropdown-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pricing-table-wrapper {
        width: 100%;
        padding: 1rem;
    }

    .pricing-table-header {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
        word-break: break-word;
    }

    .dropdown-wrapper {
        padding: 0.4rem 1rem;
    }

    select.dropdown-select {
        font-size: 0.8rem;
        padding: 8px 12px;
        background-position: right 10px center;
        background-size: 10px;
    }

    .pricing-table {
        padding: 0.5rem;
    }
}

/* ==================== Anpassungen für kleine Geräte (≤ 480px) ==================== */
@media (max-width: 480px) {
    .pricing-table-header {
        font-size: 0.8rem;
    }

    .pricing-table th,
    .pricing-table td {
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }

    select.dropdown-select {
        font-size: 0.75rem;
    }
}
