/* Hundeleben Terminbuchung Plugin Styles */

.hundeleben-termine-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 0; /* Kein Border-Radius */
    box-shadow: none; /* Kein Schatten */
    overflow: hidden;
}

.hundeleben-iframe {
    width: 100%;
    border: none;
    box-shadow: none; /* Kein Schatten für iframe */
    display: block;
    transition: height 0.3s ease;
    min-height: 400px;
}

/* Loading Animation */
.hundeleben-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #b30685;
    border-radius: 50%;
    animation: hundeleben-spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes hundeleben-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hundeleben-loading p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hundeleben-termine-container {
        margin: 0 -15px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    
    .hundeleben-iframe {
        min-height: 600px;
    }
}

/* Error State */
.hundeleben-error {
    padding: 2rem;
    text-align: center;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* WordPress Admin Styles */
.hundeleben-admin-notice {
    padding: 1rem;
    background: #fff;
    border-left: 4px solid #b30685;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.hundeleben-admin-notice h3 {
    margin-top: 0;
    color: #b30685;
}

/* Integration with common WordPress themes */
.hundeleben-termine-container {
    clear: both;
    margin: 2rem 0;
}

/* Fullwidth support */
.alignfull .hundeleben-termine-container,
.wp-block-group.alignfull .hundeleben-termine-container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
