/**
 * Tepe Termine - Frontend Booking CSS
 * Mit TELESON Brand-Farben
 */

:root {
    --teleson-primary: #9cce1d;
    --teleson-secondary: #575756;
    --teleson-text: #333333;
    --teleson-light: #f8f9fa;
    --teleson-white: #ffffff;
    --teleson-border: #e0e0e0;
    --teleson-error: #dc3545;
    --teleson-success: #28a745;
    --teleson-warning: #ffc107;
    --teleson-info: #17a2b8;

    /* Schatten */
    --teleson-shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --teleson-shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --teleson-shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --teleson-radius: 8px;
    --teleson-radius-small: 4px;
    --teleson-radius-large: 12px;

    /* Transitions */
    --teleson-transition: all 0.3s ease;
}

/* Reset und Basis-Styles */
.tepe-booking-wrapper * {
    box-sizing: border-box;
}

.tepe-booking-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--teleson-text);
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--teleson-white);
    border-radius: var(--teleson-radius-large);
    box-shadow: var(--teleson-shadow-medium);
}

.tepe-booking-container {
    position: relative;
}

/* Schritt-Indikator */
.tepe-booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.tepe-booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--teleson-border);
    z-index: 1;
}

.tepe-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: var(--teleson-white);
    padding: 0 10px;
}

.tepe-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teleson-border);
    color: var(--teleson-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    transition: var(--teleson-transition);
}

.tepe-step-label {
    font-size: 14px;
    color: var(--teleson-secondary);
    text-align: center;
    font-weight: 500;
}

.tepe-step-active .tepe-step-number {
    background: var(--teleson-primary);
    color: var(--teleson-white);
}

.tepe-step-active .tepe-step-label {
    color: var(--teleson-primary);
    font-weight: 600;
}

.tepe-step-completed .tepe-step-number {
    background: var(--teleson-success);
    color: var(--teleson-white);
}

/* Booking Content */
.tepe-booking-content {
    min-height: 400px;
}

.tepe-booking-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tepe-booking-step.tepe-step-active {
    display: block;
}

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

.tepe-booking-step h2 {
    font-size: 28px;
    color: var(--teleson-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.tepe-step-description {
    font-size: 16px;
    color: var(--teleson-secondary);
    margin-bottom: 30px;
}

/* Services Grid */
.tepe-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tepe-service-card {
    background: var(--teleson-white);
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius);
    padding: 24px;
    transition: var(--teleson-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tepe-service-card:hover {
    border-color: var(--teleson-primary);
    box-shadow: var(--teleson-shadow-medium);
    transform: translateY(-2px);
}

.tepe-service-card.tepe-selected {
    border-color: var(--teleson-primary);
    background: rgba(156, 206, 29, 0.05);
}

.tepe-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tepe-service-card h3 {
    font-size: 20px;
    color: var(--teleson-text);
    margin: 0;
    font-weight: 600;
}

.tepe-service-duration {
    background: var(--teleson-primary);
    color: var(--teleson-white);
    padding: 4px 12px;
    border-radius: var(--teleson-radius-small);
    font-size: 14px;
    font-weight: 500;
}

.tepe-service-description p {
    color: var(--teleson-secondary);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.tepe-service-price {
    margin-bottom: 20px;
}

.tepe-price-free {
    color: var(--teleson-success);
    font-weight: 600;
    font-size: 16px;
}

.tepe-price {
    color: var(--teleson-primary);
    font-weight: 600;
    font-size: 18px;
}

/* Buttons */
.tepe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--teleson-radius);
    cursor: pointer;
    transition: var(--teleson-transition);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.tepe-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(156, 206, 29, 0.3);
}

.tepe-btn-primary {
    background: var(--teleson-primary);
    color: var(--teleson-white);
}

.tepe-btn-primary:hover {
    background: #8bb519;
    transform: translateY(-1px);
    box-shadow: var(--teleson-shadow-medium);
}

.tepe-btn-secondary {
    background: var(--teleson-secondary);
    color: var(--teleson-white);
}

.tepe-btn-secondary:hover {
    background: #464645;
}

.tepe-btn-outline {
    background: transparent;
    color: var(--teleson-primary);
    border: 2px solid var(--teleson-primary);
}

.tepe-btn-outline:hover {
    background: var(--teleson-primary);
    color: var(--teleson-white);
}

.tepe-btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.tepe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.tepe-btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation */
.tepe-booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--teleson-border);
}

/* Calendar */
.tepe-booking-calendar-container {
    background: var(--teleson-light);
    border-radius: var(--teleson-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.tepe-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tepe-calendar-title {
    font-size: 20px;
    color: var(--teleson-text);
    margin: 0;
    font-weight: 600;
}

.tepe-btn-nav {
    background: transparent;
    border: 1px solid var(--teleson-border);
    color: var(--teleson-text);
    padding: 8px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tepe-btn-nav:hover:not(:disabled) {
    background: var(--teleson-border);
}

.tepe-calendar-grid {
    background: var(--teleson-white);
    border-radius: var(--teleson-radius);
    overflow: hidden;
    box-shadow: var(--teleson-shadow-light);
}

.tepe-calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--teleson-secondary);
}

.tepe-calendar-day-header {
    padding: 12px;
    text-align: center;
    color: var(--teleson-white);
    font-weight: 500;
    font-size: 14px;
}

.tepe-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.tepe-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--teleson-border);
    background: var(--teleson-white);
    cursor: pointer;
    transition: var(--teleson-transition);
    font-weight: 500;
}

.tepe-calendar-day:hover:not(.tepe-day-disabled):not(.tepe-day-other-month) {
    background: rgba(156, 206, 29, 0.1);
}

.tepe-calendar-day.tepe-day-selected {
    background: var(--teleson-primary);
    color: var(--teleson-white);
}

.tepe-calendar-day.tepe-day-disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.tepe-calendar-day.tepe-day-other-month {
    color: #ccc;
    background: #fafafa;
}

.tepe-calendar-day.tepe-day-has-slots {
    position: relative;
}

.tepe-calendar-day.tepe-day-has-slots::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--teleson-primary);
    border-radius: 50%;
}

.tepe-calendar-day.tepe-day-selected.tepe-day-has-slots::after {
    background: var(--teleson-white);
}

/* Time Slots */
.tepe-time-slots-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--teleson-border);
}

.tepe-time-slots-container h4 {
    color: var(--teleson-text);
    margin-bottom: 15px;
    font-size: 18px;
}

.tepe-selected-date-info {
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(156, 206, 29, 0.1);
    border-radius: var(--teleson-radius);
    color: var(--teleson-text);
    font-weight: 500;
}

.tepe-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.tepe-time-slot {
    background: var(--teleson-white);
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius);
    padding: 12px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--teleson-transition);
    font-weight: 500;
}

.tepe-time-slot:hover {
    border-color: var(--teleson-primary);
    background: rgba(156, 206, 29, 0.05);
}

.tepe-time-slot.tepe-selected {
    background: var(--teleson-primary);
    color: var(--teleson-white);
    border-color: var(--teleson-primary);
}

/* Contact Form */
.tepe-contact-form {
    background: var(--teleson-light);
    padding: 30px;
    border-radius: var(--teleson-radius);
    margin-bottom: 30px;
}

.tepe-form-row {
    margin-bottom: 20px;
}

.tepe-form-group {
    position: relative;
}

.tepe-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--teleson-text);
    font-weight: 500;
    font-size: 14px;
}

.tepe-form-group input,
.tepe-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius);
    font-size: 16px;
    transition: var(--teleson-transition);
    background: var(--teleson-white);
}

.tepe-form-group input:focus,
.tepe-form-group textarea:focus {
    outline: none;
    border-color: var(--teleson-primary);
    box-shadow: 0 0 0 3px rgba(156, 206, 29, 0.1);
}

.tepe-form-help {
    font-size: 12px;
    color: var(--teleson-secondary);
    margin-top: 4px;
}

.tepe-error-message {
    color: var(--teleson-error);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.tepe-error-message.tepe-show {
    display: block;
}

.tepe-form-group.tepe-error input,
.tepe-form-group.tepe-error textarea {
    border-color: var(--teleson-error);
}

/* Checkbox */
.tepe-checkbox-group {
    margin-top: 25px;
}

.tepe-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.tepe-checkbox-label input[type="checkbox"] {
    display: none;
}

.tepe-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius-small);
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: var(--teleson-transition);
    position: relative;
    background: var(--teleson-white);
    display: inline-block;
    box-sizing: border-box;
}

.tepe-checkbox-custom:hover {
    border-color: var(--teleson-primary);
}

.tepe-checkbox-label input[type="checkbox"]:checked + .tepe-checkbox-custom {
    background: var(--teleson-primary);
    border-color: var(--teleson-primary);
}

.tepe-checkbox-label input[type="checkbox"]:checked + .tepe-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--teleson-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

.tepe-checkbox-label input[type="checkbox"]:focus + .tepe-checkbox-custom {
    outline: 2px solid var(--teleson-primary);
    outline-offset: 2px;
}

.tepe-checkbox-label a {
    color: var(--teleson-primary);
    text-decoration: none;
}

.tepe-checkbox-label a:hover {
    text-decoration: underline;
}

/* Location Selection */
.tepe-location-selection {
    background: var(--teleson-light);
    border-radius: var(--teleson-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.tepe-location-selection h3 {
    color: var(--teleson-text);
    margin-bottom: 15px;
    font-size: 18px;
}

.tepe-location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tepe-location-option {
    background: var(--teleson-white);
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius);
    padding: 16px;
    cursor: pointer;
    transition: var(--teleson-transition);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tepe-location-option:hover {
    border-color: var(--teleson-primary);
    background: rgba(156, 206, 29, 0.05);
}

.tepe-location-option input[type="radio"] {
    display: none;
}

.tepe-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--teleson-border);
    border-radius: 50%;
    background: var(--teleson-white);
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--teleson-transition);
    position: relative;
}

.tepe-location-option input[type="radio"]:checked + .tepe-radio-custom {
    border-color: var(--teleson-primary);
    background: var(--teleson-white);
}

.tepe-location-option input[type="radio"]:checked + .tepe-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--teleson-primary);
    border-radius: 50%;
}

.tepe-location-option input[type="radio"]:checked ~ .tepe-location-details {
    color: var(--teleson-primary);
}

.tepe-location-details strong {
    display: block;
    margin-bottom: 4px;
    color: var(--teleson-text);
}

.tepe-location-details p {
    margin: 0;
    color: var(--teleson-secondary);
    font-size: 14px;
}

/* Address Fields */
.tepe-address-fields {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--teleson-warning);
    border-radius: var(--teleson-radius);
    padding: 20px;
    margin-top: 20px;
    animation: slideDown 0.3s ease-out;
}

.tepe-address-fields h4 {
    color: var(--teleson-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tepe-address-fields h4::before {
    content: '📍';
    font-size: 18px;
}

.tepe-form-row-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

/* Distance Info */
.tepe-distance-info {
    background: var(--teleson-white);
    border: 1px solid var(--teleson-info);
    border-radius: var(--teleson-radius);
    padding: 15px;
    margin-top: 15px;
}

.tepe-distance-result {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tepe-distance-text {
    color: var(--teleson-secondary);
    font-size: 14px;
}

.tepe-distance-value {
    color: var(--teleson-info);
    font-weight: 600;
    font-size: 16px;
}

.tepe-btn-link {
    background: none;
    border: none;
    color: var(--teleson-primary);
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
}

.tepe-btn-link:hover {
    color: var(--teleson-secondary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Booking Summary */
.tepe-booking-summary {
    background: var(--teleson-white);
    border: 2px solid var(--teleson-primary);
    border-radius: var(--teleson-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.tepe-booking-summary h3 {
    color: var(--teleson-primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.tepe-summary-content {
    display: grid;
    gap: 8px;
}

.tepe-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--teleson-border);
}

.tepe-summary-item:last-child {
    border-bottom: none;
}

.tepe-summary-item strong {
    color: var(--teleson-text);
}

.tepe-summary-item span {
    color: var(--teleson-secondary);
    font-weight: 500;
}

/* Final Summary */
.tepe-final-summary {
    margin-bottom: 30px;
}

.tepe-summary-card {
    background: var(--teleson-light);
    border-radius: var(--teleson-radius);
    overflow: hidden;
}

.tepe-summary-section {
    padding: 20px;
    border-bottom: 1px solid var(--teleson-border);
}

.tepe-summary-section:last-child {
    border-bottom: none;
}

.tepe-summary-section h4 {
    color: var(--teleson-primary);
    margin-bottom: 15px;
    font-size: 16px;
}

/* Important Notice */
.tepe-important-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--teleson-warning);
    border-radius: var(--teleson-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.tepe-important-notice h4 {
    color: #856404;
    margin-bottom: 15px;
}

.tepe-important-notice ul {
    margin: 0;
    padding-left: 20px;
}

.tepe-important-notice li {
    margin-bottom: 8px;
    color: #856404;
}

/* Success Step */
.tepe-step-success {
    text-align: center;
}

.tepe-success-content {
    max-width: 500px;
    margin: 0 auto;
}

.tepe-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.tepe-success-message {
    font-size: 18px;
    color: var(--teleson-success);
    margin-bottom: 20px;
}

.tepe-success-details {
    background: var(--teleson-light);
    padding: 20px;
    border-radius: var(--teleson-radius);
    margin-bottom: 30px;
}

.tepe-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Messages */
.tepe-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.tepe-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: var(--teleson-radius);
    margin-bottom: 10px;
    min-width: 300px;
    box-shadow: var(--teleson-shadow-medium);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.tepe-message-error {
    background: var(--teleson-error);
    color: var(--teleson-white);
}

.tepe-message-success {
    background: var(--teleson-success);
    color: var(--teleson-white);
}

.tepe-message-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

/* Loading */
.tepe-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--teleson-radius-large);
}

.tepe-loading-content {
    text-align: center;
    color: var(--teleson-text);
}

.tepe-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--teleson-border);
    border-top: 3px solid var(--teleson-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Services */
.tepe-no-services {
    text-align: center;
    padding: 60px 20px;
    color: var(--teleson-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tepe-booking-wrapper {
        padding: 15px;
        margin: 10px;
    }

    .tepe-booking-steps {
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .tepe-step-label {
        font-size: 12px;
    }

    .tepe-booking-step h2 {
        font-size: 24px;
    }

    .tepe-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tepe-service-card {
        padding: 20px;
    }

    .tepe-service-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .tepe-calendar-nav {
        flex-direction: column;
        gap: 15px;
    }

    .tepe-btn-nav {
        padding: 10px 16px;
    }

    .tepe-time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .tepe-contact-form {
        padding: 20px;
    }

    .tepe-booking-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .tepe-booking-navigation .tepe-btn {
        width: 100%;
    }

    .tepe-success-actions {
        flex-direction: column;
    }

    .tepe-success-actions .tepe-btn {
        width: 100%;
    }

    .tepe-messages {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .tepe-message {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tepe-booking-steps::before {
        display: none;
    }

    .tepe-booking-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        text-align: center;
    }

    .tepe-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .tepe-calendar-day-header {
        padding: 8px 4px;
        font-size: 12px;
    }

    .tepe-time-slot {
        padding: 8px 12px;
        font-size: 14px;
    }

    .tepe-summary-item {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    .tepe-booking-wrapper {
        box-shadow: none;
        border: 1px solid #000;
    }

    .tepe-booking-steps,
    .tepe-booking-navigation,
    .tepe-messages,
    .tepe-loading-overlay {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --teleson-primary: #7ba614;
        --teleson-secondary: #000000;
        --teleson-border: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Location-Validierung Styles */
.tepe-distance-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--teleson-light);
    border-radius: var(--teleson-radius);
    border: 1px solid var(--teleson-border);
}

.tepe-distance-result {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tepe-distance-text {
    font-weight: 500;
    color: var(--teleson-secondary);
}

.tepe-distance-value {
    font-weight: bold;
    color: var(--teleson-primary);
    padding: 4px 8px;
    background: rgba(156, 206, 29, 0.1);
    border-radius: var(--teleson-radius-small);
}

.tepe-distance-value:contains("Außerhalb Einzugsgebiet"),
.tepe-distance-value[data-status="outside"] {
    color: var(--teleson-warning);
    background: rgba(255, 193, 7, 0.1);
}

.tepe-distance-value:contains("Berechnung nicht möglich"),
.tepe-distance-value[data-status="error"] {
    color: var(--teleson-error);
    background: rgba(220, 53, 69, 0.1);
}

.tepe-btn-link {
    background: none;
    border: none;
    color: var(--teleson-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: auto;
    transition: var(--teleson-transition);
}

.tepe-btn-link:hover {
    color: #7ba614;
    text-decoration: none;
}

.tepe-location-warning {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--teleson-radius);
    border-left: 4px solid var(--teleson-warning);
}

.tepe-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.tepe-warning-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tepe-warning-message {
    flex: 1;
    color: #856404;
    font-weight: 500;
    line-height: 1.4;
}

.tepe-warning-actions {
    display: flex;
    justify-content: flex-end;
}

.tepe-warning-actions .tepe-btn {
    margin: 0;
}

/* Location Options Styling */
.tepe-location-selection {
    margin: 25px 0;
}

.tepe-location-selection h3 {
    margin-bottom: 15px;
    color: var(--teleson-secondary);
    font-size: 18px;
}

.tepe-location-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tepe-location-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 2px solid var(--teleson-border);
    border-radius: var(--teleson-radius);
    cursor: pointer;
    transition: var(--teleson-transition);
    background: var(--teleson-white);
}

.tepe-location-option:hover {
    border-color: var(--teleson-primary);
    background: rgba(156, 206, 29, 0.05);
}

.tepe-location-option input[type="radio"] {
    display: none;
}

.tepe-location-option input[type="radio"]:checked + .tepe-radio-custom + .tepe-location-details {
    color: var(--teleson-primary);
}

.tepe-location-option input[type="radio"]:checked ~ .tepe-location-option {
    border-color: var(--teleson-primary);
    background: rgba(156, 206, 29, 0.1);
}

.tepe-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--teleson-border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: var(--teleson-transition);
    margin-top: 2px;
}

.tepe-location-option input[type="radio"]:checked + .tepe-radio-custom {
    border-color: var(--teleson-primary);
    background: var(--teleson-primary);
}

.tepe-location-option input[type="radio"]:checked + .tepe-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--teleson-white);
    border-radius: 50%;
}

.tepe-location-details {
    flex: 1;
}

.tepe-location-details strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    color: var(--teleson-secondary);
}

.tepe-location-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Address Fields Animation */
.tepe-address-fields {
    overflow: hidden;
    transition: all 0.3s ease;
}

.tepe-address-fields[style*="display: none"] {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.tepe-address-fields:not([style*="display: none"]) {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

/* Responsive Location Styles */
@media (max-width: 768px) {
    .tepe-location-option {
        padding: 12px;
        gap: 10px;
    }

    .tepe-location-details strong {
        font-size: 15px;
    }

    .tepe-distance-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tepe-btn-link {
        margin-left: 0;
        align-self: flex-start;
    }

    .tepe-warning-content {
        flex-direction: column;
        gap: 8px;
    }

    .tepe-warning-icon {
        align-self: flex-start;
    }
}