/* Praxis Konsultation Plugin Styles */
#praxis-konsultation-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.pk-header h2 {
    color: #670000;
    text-align: center;
    margin-bottom: 20px;
}

/* Intro Text Styles */
.pk-intro-text {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #495057;
}

.pk-intro-text p {
    margin-bottom: 8px;
}

.pk-warning-box {
    background: #f4ebe2;
    border: 2px solid #931f32;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.pk-warning-box h3 {
    color: #856404;
    margin-top: 0;
}

.pk-opening-hours, .pk-emergency-symptoms {
    margin: 15px 0;
}

.pk-opening-hours h4, .pk-emergency-symptoms h4 {
    color: #721c24;
    margin-bottom: 8px;
}

.pk-emergency-symptoms ul {
    color: #721c24;
}

.pk-section {
    background: #f4ebe2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pk-section h3 {
    color: #670000;
    margin-top: 0;
    border-bottom: 2px solid #670000;
    padding-bottom: 10px;
}

.pk-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.pk-col {
    flex: 1;
}

.pk-col-full {
    width: 100%;
}

.pk-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.pk-row input, .pk-row select, .pk-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pk-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.pk-checkbox-grid label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.pk-checkbox-grid input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.pk-checkbox-group {
    margin: 15px 0;
}

.pk-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.pk-checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.pk-red-flags {
    border-left: 4px solid #dc3545;
}

.pk-red-flag-questions {
    margin-top: 15px;
}

.pk-question {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.pk-question p {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Explanation text styling */
.pk-explanation {
    font-weight: normal;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    margin-top: -5px;
}

/* New checkbox styling for red flags */
.pk-checkbox-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

.pk-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
    font-weight: normal;
    min-width: 80px;
    justify-content: center;
}

.pk-checkbox-label:hover {
    border-color: #670000;
    background: #f9f9f9;
}

.pk-checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.2);
}

.pk-checkbox-label input[type="checkbox"]:checked + .pk-checkbox-text {
    font-weight: bold;
}

.pk-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: #670000;
    background: #f4ebe2;
}

.pk-checkbox-text {
    font-size: 14px;
}

.pk-emergency-alert {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.pk-emergency-alert h3 {
    color: #721c24;
    margin-top: 0;
}

.pk-emergency-alert p {
    color: #721c24;
    font-weight: bold;
}

.pk-privacy {
    border-left: 4px solid #28a745;
}

.pk-disclaimer {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.pk-disclaimer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.pk-submit-section {
    text-align: center;
    margin-top: 30px;
}

#submit-btn {
    background: #670000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

#submit-btn:hover {
    background: #4a0000;
}

#submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

#form-messages {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pk-row {
        flex-direction: column;
    }

    .pk-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .pk-checkbox-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .pk-checkbox-label {
        justify-content: flex-start;
        min-width: auto;
    }
}
.pk-closed-warning {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    animation: pulse 2s infinite;
}

.pk-closed-warning h3 {
    color: #721c24;
    margin-top: 0;
    font-size: 1.3em;
}

.pk-closed-warning p {
    color: #721c24;
    margin: 10px 0;
}

@keyframes pulse {
    0% { border-color: #dc3545; }
    50% { border-color: #ff6b7a; }
    100% { border-color: #dc3545; }
}