/* Algemene styling voor de admin wrapper */
.hdc-admin-wrap {
    margin-top: 20px;
}

/* Styling voor de TLD repeater velden */
.hdc-tld-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.hdc-tld-item input {
    margin-right: 5px;
}

/* Basis-stijl voor de 'doos' op elke tab */
.hdc-admin-box {
    background-color: #fff;
    border: 1px solid #ccd0d4;
    padding: 1px 20px 20px 20px;
    margin-top: 15px;
    max-width: 800px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

/* * DE UNIVERSELE KAART-STIJL: Geldt nu voor alle instellingenblokken op alle tabs.
*/
.hdc-settings-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin-top: 25px;
}
.hdc-admin-box > .hdc-settings-card:first-child {
    margin-top: 20px;
}
.hdc-settings-card h4 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.hdc-settings-card p.description {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}
.hdc-settings-card .form-table {
    margin-top: 0;
}
.hdc-settings-card .form-table th {
    padding-left: 0;
}
.hdc-settings-card p.description code {
    font-style: normal;
}

/* Specifieke styling voor elementen binnen de kaarten op de How To & Changelog tabs */
.hdc-howto-tab .hdc-settings-card p, 
.hdc-howto-tab .hdc-settings-card li,
.hdc-changelog-tab .hdc-settings-card li { /* NIEUW: Changelog styling toegevoegd */
    font-size: 14px;
    line-height: 1.6;
}

.hdc-howto-tab .hdc-settings-card code {
    display: inline-block;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}

.hdc-howto-tab .hdc-settings-card ul,
.hdc-changelog-tab .hdc-settings-card ul { /* NIEUW: Changelog styling toegevoegd */
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
}

/* NIEUW: Styling voor de changelog */
.hdc-changelog-tab .hdc-settings-card strong {
    font-weight: 600;
    color: #2271b1;
}

/* Algemene titel voor de How To & Changelog pagina (buiten de kaarten) */
.hdc-howto-tab > h2,
.hdc-changelog-tab > h2 {
    font-size: 24px;
    margin-top: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.hdc-howto-tab > p,
.hdc-changelog-tab > p {
    margin-bottom: 15px;
}


/* --- START: NIEUWE STYLING VOOR PRO UPSELL --- */

/* Label voor PRO functies */
.hdc-pro-label {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 2px 6px;
    font-size: 9px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}

/* Gedimde stijl voor uitgeschakelde PRO functies */
.hdc-pro-feature {
    opacity: 0.6;
    position: relative;
}

.hdc-pro-feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(240, 240, 241, 0.5); /* Semi-transparante overlay */
    z-index: 1;
}

.hdc-pro-feature > * {
    position: relative;
    z-index: 2;
}


/* Styling voor de PRO upsell kaart */
.hdc-pro-upsell-card {
    background-color: #e3f2fd; /* Lichte, vriendelijke blauwe achtergrond */
    border: 1px solid #90caf9;
    border-left: 5px solid #2962ff; /* Duidelijke blauwe accentrand */
    border-radius: 4px;
    padding: 20px 25px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hdc-pro-upsell-card h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1a237e; /* Donkerblauw voor de titel */
}

.hdc-pro-upsell-card p {
    font-size: 14px;
    color: #333;
}

.hdc-pro-upsell-card ul {
    list-style-type: '✓'; /* Gebruik vinkjes voor de lijst */
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hdc-pro-upsell-card ul li {
    padding-left: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}
.hdc-pro-upsell-card ul li strong {
    color: #1a237e;
}

.hdc-pro-upsell-card .hdc-pro-button {
    background-color: #2962ff;
    border-color: #1a237e;
    font-size: 16px;
    padding: 8px 20px;
    height: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hdc-pro-upsell-card .hdc-pro-button:hover {
    background-color: #1a237e;
}

/* --- Main PRO Upsell Banner Styling --- */
.hdc-main-upsell-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #ccd0d4;
    border-left: 4px solid #007cba;
    padding: 20px 25px;
    margin-top: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    flex-wrap: wrap;
    gap: 20px;
}

.hdc-main-upsell-banner .hdc-banner-content {
    flex: 1;
    min-width: 300px;
}

.hdc-main-upsell-banner h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    color: #1d2327;
}

.hdc-main-upsell-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.hdc-main-upsell-banner .hdc-banner-action .hdc-pro-button {
    background-color: #007cba;
    border-color: #0071a1;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    height: auto;
    line-height: normal;
    text-transform: none;
    box-shadow: 0 1px 0 #006799;
    transition: background-color 0.1s ease-in-out;
}

.hdc-main-upsell-banner .hdc-banner-action .hdc-pro-button:hover {
    background-color: #016087;
    border-color: #005075;
}

.hdc-pro-upsell-card .hdc-banner-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hdc-pro-upsell-card .hdc-banner-action .button.hdc-banner-cta {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wp-core-ui .button.hdc-demo-button,
.wp-core-ui .button.hdc-demo-button:visited {
    background-color: #f56e28 !important;
    border-color: #d35400 !important;
    color: #fff !important;
    box-shadow: 0 1px 0 #a84300 !important;
}

.wp-core-ui .button.hdc-demo-button:hover,
.wp-core-ui .button.hdc-demo-button:focus {
    background-color: #d35400 !important;
    border-color: #a84300 !important;
    color: #fff !important;
}

/* Zorgt dat de PRO-tag netjes naast de label-tekst blijft staan,
   maar alléén voor labels die daadwerkelijk een PRO-tag hebben. */
.hdc-settings-card .form-table th:has(.hdc-pro-label) {
    white-space: nowrap;
}

/* ------------------------------------------------------------
 * HFA Standard Admin UI (modern tabs + badges)
 * This styling is shared across HFA plugins for a consistent UX.
 * ------------------------------------------------------------ */

.hdc-admin-wrap h2.nav-tab-wrapper.hdc-tabs{
    border-bottom: none;
    margin-top: 18px;
    padding-bottom: 0;
}

.hdc-admin-wrap .nav-tab-wrapper.hdc-tabs .nav-tab{
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 10px 16px;
    margin: 0 8px 0 0;
    font-weight: 600;
    color: #1d2327;
    box-shadow: 0 -1px 0 rgba(0,0,0,0.02);
}

.hdc-admin-wrap .nav-tab-wrapper.hdc-tabs .nav-tab:hover{
    background: #ffffff !important;
}

.hdc-admin-wrap .nav-tab-wrapper.hdc-tabs .nav-tab.nav-tab-active{
    background: #ffffff;
    border-color: #c3c4c7;
    color: #2271b1;
    box-shadow: 0 -2px 0 rgba(34,113,177,0.15);
}

.hdc-admin-wrap .nav-tab-wrapper.hdc-tabs:after{
    content: '';
    display: block;
    border-bottom: 1px solid #c3c4c7;
    margin-top: -1px;
}

.hdc-status-badge{
    display: inline-block;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    vertical-align: middle;
    border: 1px solid transparent;
}

.hdc-status-badge--active{
    background: #d1fae5;
    color: #065f46;
    border-color: rgba(6,95,70,0.25);
}

.hdc-status-badge--installed{
    background: #fff7ed;
    color: #9a3412;
    border-color: rgba(154,52,18,0.25);
}

.hdc-status-badge--pro{
    background: #1d2327;
    color: #ffffff;
}
