/* Custom Farben für Dentalax */

:root {
    /* Definition der Dentalax-Farben */
    --dental-primary: #40bfd8;
    --dental-primary-dark: #2a8294;
    --dental-secondary: #2a8294;
    --dental-dark: #333333;

    /* Bootstrap-Farben überschreiben */
    --bs-primary: #40bfd8;
    --bs-primary-rgb: 64, 191, 216;
    --bs-secondary: #2a8294;
    --bs-secondary-rgb: 42, 130, 148;

    /* Link-Farben */
    --bs-link-color: #40bfd8;
    --bs-link-hover-color: #2a8294;
}

/* Globale Farbüberschreibungen */
.bg-primary,
.text-bg-primary {
    background-color: #40bfd8 !important;
}

a {
    color: var(--bs-primary);
}
.form-check-input:checked {
    background-color: #40bfd8 !important;
    border-color: #40bfd8 !important;
}
.text-primary {
    color: #40bfd8 !important;
}

.border-primary {
    border-color: #40bfd8 !important;
}

.btn-primary {
    --bs-btn-bg: #40bfd8;
    --bs-btn-border-color: #40bfd8;
    --bs-btn-hover-bg: #2a8294;
    --bs-btn-hover-border-color: #2a8294;
    --bs-btn-active-bg: #2a8294;
    --bs-btn-active-border-color: #2a8294;
    --bs-btn-disabled-bg: #95d7e5;
    --bs-btn-disabled-border-color: #95d7e5;
}

.btn-outline-primary {
    --bs-btn-color: #40bfd8;
    --bs-btn-border-color: #40bfd8;
    --bs-btn-hover-bg: #40bfd8;
    --bs-btn-hover-border-color: #40bfd8;
    --bs-btn-active-bg: #40bfd8;
    --bs-btn-active-border-color: #40bfd8;
    --bs-btn-disabled-color: #40bfd8;
    --bs-btn-disabled-border-color: #40bfd8;
}

/* Spezielle Korrekturen für den Slider und andere Elemente */
.form-range::-webkit-slider-thumb {
    background-color: #40bfd8;
}
.form-range::-moz-range-thumb {
    background-color: #40bfd8;
}
.form-range::-ms-thumb {
    background-color: #40bfd8;
}

.badge.bg-primary {
    background-color: #40bfd8 !important;
}

/* Korrektur für die CTA-Sektion */
section[style*="background-color: var(--dental-primary)"] {
    background-color: #40bfd8 !important;
}

li.nav-item.dropdown.menu-dropdown {
    padding: 15px 10px;
}

li.nav-item.dropdown.menu-dropdown a {
    font-size: 16px;
    text-decoration: none;
}

.dropdown-item.active {
    background-color: var(--dental-primary) !important;
    color: white !important;
}

/* Modernisiertes Design für Praxis-Formular-Wizard */
/* Grundstil für die Fortschrittsanzeige */
.progress-container {
    position: relative;
    margin-bottom: 2rem;
}

.progress {
    height: 0.5rem;
    background-color: #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.4s ease;
}

/* Fortschrittsschritte styling */
.progress-steps {
    position: relative;
    padding: 0;
    margin: 1.5rem 0 0;
}

.progress-step {
    position: relative;
    text-align: center;
    padding: 0;
    flex: 1;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.step-label {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Aktiver Schritt */
.progress-step.active .step-circle {
    background-color: #40bfd8;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(64, 191, 216, 0.3);
}

.progress-step.active .step-label {
    color: #40bfd8;
    font-weight: 600;
}

/* Abgeschlossener Schritt */
.progress-step.completed .step-circle {
    background-color: #2a8294;
    color: white !important;
}

.progress-step.completed .step-label {
    color: #2a8294;
}

/* Hover-Effekt für die Schritte */
.progress-step:hover .step-circle {
    transform: scale(1.05);
}

/* Moderne Effekte für die Leistungsboxen auf Zahnarzt-Landingpage */
.transform-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform-on-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07) !important;
}

.transform-on-hover:hover .transition-icon {
    color: white !important;
}

.transform-on-hover:hover .d-inline-flex {
    background-color: var(--dental-primary) !important;
}

.opacity-10 {
    opacity: 0.1;
}

.z-index-1 {
    z-index: 1;
}

.transform-on-hover:hover .transform-scale {
    transform: scale(1.2) translate(0, 0) !important;
}

.transition-icon {
    transition: all 0.3s ease;
}

/* Neue Styles für moderne Kachel-Auswahl */
.booking-option-card {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    cursor: pointer;
    height: 100%;
}

.booking-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(64, 191, 216, 0.3);
}

.booking-option-card.selected {
    border-color: #40bfd8;
    background-color: rgba(64, 191, 216, 0.05);
    box-shadow: 0 10px 20px rgba(64, 191, 216, 0.15);
}

.api-config-container {
    background: rgba(64, 191, 216, 0.05);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(64, 191, 216, 0.2);
    margin-top: 1rem;
    display: none;
}

.api-config-container h5 {
    color: #2a8294;
    margin-bottom: 1rem;
}

.api-endpoint-box {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.copy-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: #40bfd8;
}

.fs-5 {
    font-size: 1.25rem !important;
}
/* Kachelkarten für Terminbuchungsoptionen */
.booking-option-card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
}

.booking-option-card:hover {
    border-color: #40bfd8;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.booking-option-card.selected {
    border-color: #40bfd8;
    background-color: #f0fafc;
    box-shadow: 0 5px 15px rgba(64, 191, 216, 0.2);
}

.booking-option-card .option-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #40bfd8;
}

.booking-option-card h5 {
    margin-bottom: 10px;
    color: #2a8294;
}

.booking-option-card p {
    color: #6c757d;
    flex-grow: 1;
    font-size: 0.9rem;
}

/* API-Endpunkte Stil */
.api-endpoint-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.api-endpoint-box code {
    display: block;
    color: #2a8294;
    font-size: 0.9rem;
}

.copy-btn {
    cursor: pointer;
    color: #40bfd8;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #2a8294;
}

/* Konfigurationscontainer */
.config-section {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Moderne Navigations-Styles */
.header-modern .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.header-modern .navbar-nav .nav-item {
    position: relative;
    margin: 0 0.25rem;
}

.header-modern .nav-link {
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.header-modern .nav-link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 3px;
    background-color: #40bfd8;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.header-modern .nav-link.active:before,
.header-modern .nav-link:hover:before {
    transform: scaleX(1);
}

.header-modern .nav-link.active,
.header-modern .nav-link:hover {
    color: #40bfd8 !important;
}

.header-modern .dropdown-animation {
    animation: fadeInUp 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.5rem;
}

.header-modern .dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
}

.header-modern .dropdown-item:hover {
    background-color: #f0f9fb;
    transform: translateX(5px);
}

.header-modern .dropdown-item i {
    transition: transform 0.2s ease;
}

.header-modern .dropdown-item:hover i {
    transform: translateX(3px);
}

.logo-animation {
    transition: transform 0.3s ease;
}

.logo-animation:hover {
    transform: scale(1.05);
}

.nav-btn-animation {
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(64, 191, 216, 0.3);
}

.nav-btn-animation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(64, 191, 216, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .header-modern .navbar-nav .nav-item {
        margin: 0;
    }

    .header-modern .nav-link:before {
        display: none;
    }

    .header-modern .navbar-nav {
        padding: 1rem 0;
    }

    .header-modern .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}
