/* ppr-form-styles.css */

/* Aggressiver Reset für Elemente innerhalb des Formular-Wrappers */
.ppr-form-wrapper, 
.ppr-form-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Wichtige Eigenschaften, die oft von Themes überschrieben werden */
    line-height: 1.5;
    font-size: 16px;
    color: inherit;
    background-color: transparent;
    border: none;
    box-shadow: none;
    text-decoration: none;
}

/* Spezifische Styles für das Formular */
.ppr-form-wrapper {
    font-family: 'Arial', sans-serif;
    /* Der Hintergrund wird nun auf den Wrapper angewendet, um den Effekt zu simulieren */
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    min-height: 100vh; /* Versucht, die volle Höhe zu nutzen */
    padding: 20px;
    display: flex; /* Für Zentrierung */
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
    width: 100%; /* Volle Breite des Elternelements */
    /* !important kann hier notwendig sein, um Theme-Styles zu überschreiben */
    margin: 0 auto !important; 
    box-shadow: none !important;
}

.ppr-form-wrapper .container {
    max-width: 800px;
    width: 100%; /* Stellt sicher, dass es die verfügbare Breite nutzt */
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    margin: 0 auto; /* Zentriert den Container innerhalb des Wrappers */
}

.ppr-form-wrapper .header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.ppr-form-wrapper .header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ppr-form-wrapper .header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.ppr-form-wrapper .form-content {
    padding: 40px;
}

.ppr-form-wrapper .form-group {
    margin-bottom: 25px;
}

.ppr-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2a5298;
    font-size: 1.1em;
}

.ppr-form-wrapper input[type="text"], 
.ppr-form-wrapper input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.ppr-form-wrapper input[type="text"]:focus, 
.ppr-form-wrapper input[type="date"]:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 5px rgba(42, 82, 152, 0.3);
}

.ppr-form-wrapper .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.ppr-form-wrapper .checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    accent-color: #2a5298;
}

.ppr-form-wrapper .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
}

.ppr-form-wrapper .important-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.ppr-form-wrapper .important-notice h3 {
    color: #d35400;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.ppr-form-wrapper .important-notice p {
    color: #8b4513;
    line-height: 1.6;
}

.ppr-form-wrapper .submit-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.ppr-form-wrapper .submit-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.ppr-form-wrapper .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.ppr-form-wrapper .submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ppr-form-wrapper .required {
    color: #e74c3c;
}

.ppr-form-wrapper .footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .ppr-form-wrapper .container {
        margin: 10px;
        border-radius: 10px;
    }
    
    .ppr-form-wrapper .header {
        padding: 20px;
    }
    
    .ppr-form-wrapper .header h1 {
        font-size: 1.8em;
    }
    
    .ppr-form-wrapper .form-content {
        padding: 25px;
    }
}
