/* CSS Variables für das Standard Theme */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --warning-color: #f1c40f;
    --info-color: #17a2b8;
    --success-color: #28a745;
}

/* Body und Grundlayout */
body.theme-default {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-link {
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
    padding: 8px 12px !important;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.jumbotron {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 240, 241, 0.95));
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.jumbotron::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.03), transparent);
    animation: shimmer 8s infinite;
}

.display-4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lead {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 300;
}

/* ==========================================
   SUMMARY COMPONENTS (prepared.php)
   ========================================== */

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 240, 241, 0.95));
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.3);
}

.summary-details {
    background: linear-gradient(135deg, rgba(236, 240, 241, 0.7), rgba(255, 255, 255, 0.8));
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.summary-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

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

.summary-label {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 180px;
    flex-shrink: 0;
}

.summary-value {
    color: #333;
    flex: 1;
    word-break: break-word;
}

/* Story Preview */
.story-preview {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.story-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

/* Hint Cards */
.hint-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hint-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hint-header {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: white;
    padding: 1rem 1.5rem;
}

.hint-content {
    background: white;
}

/* Package Cards */
.package-card {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.package-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    padding: 8px 45px;
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.feature-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Feedback Target */
.feedback-target {
    position: relative;
    transition: all 0.3s ease;
}

/* ==========================================
   FORM COMPONENTS (questionnaire.php)
   ========================================== */

/* Form Content */
.form-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

/* Form Steps */
.form-step {
    display: block;
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    outline: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mode-toggle.standard {
    background: linear-gradient(135deg, #f8f4ff, #f1f5f9);
    color: #7e22ce;
    border-color: #e2e8f0;
}

.mode-toggle.standard:hover {
    background: linear-gradient(135deg, #ede9fe, #e2e8f0);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 34, 206, 0.2);
}

/* ==========================================
   ACCORDION COMPONENTS
   ========================================== */

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-button {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    border: none;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
}

/* ==========================================
   BUTTON COMPONENTS
   ========================================== */

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border-width: 2px;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    border-color: var(--secondary-color);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #27ae60, var(--secondary-color));
    border-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), #138496);
    border-color: var(--info-color);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, var(--info-color));
    border-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e0a800);
    border-color: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, var(--warning-color));
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
}

/* ==========================================
   STANDARD FEEDBACK COMPONENTS
   ========================================== */

.standard-feedback-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.standard-feedback-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.standard-progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.standard-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 240, 241, 0.9));
    border-radius: 15px;
    border: 2px solid #e9ecef;
    min-width: 120px;
    transition: all 0.3s ease;
    position: relative;
}

.standard-progress-step i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.standard-progress-step span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.standard-progress-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.standard-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.standard-page-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.standard-page-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 300;
}

.standard-alert {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.standard-alert-danger {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border-color: #fecaca;
    color: #dc2626;
}

.standard-auth-section {
    max-width: 500px;
    margin: 0 auto;
}

.standard-auth-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.standard-auth-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.03), transparent);
    animation: shimmer 8s infinite;
    z-index: 1;
}

.standard-auth-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.standard-auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.standard-auth-icon i {
    font-size: 2rem;
    color: white;
}

.standard-auth-form {
    position: relative;
    z-index: 2;
}

.standard-form-group {
    margin-bottom: 1.5rem;
}

.standard-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.standard-input-group {
    position: relative;
}

.standard-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 2;
}

.standard-input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
}

.standard-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.standard-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 100px;
}

.standard-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.standard-form-help {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standard-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.standard-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: white;
}

.standard-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.standard-btn:hover::before {
    left: 100%;
}

.standard-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border-color: var(--primary-color);
    color: white;
}

.standard-btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: white;
}

.standard-btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    border-color: var(--secondary-color);
    color: white;
}

.standard-btn-success:hover {
    background: linear-gradient(135deg, #27ae60, var(--secondary-color));
    border-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    color: white;
}

.standard-btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    background: white;
}

.standard-btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    transform: translateY(-2px);
    color: white;
}

.standard-btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.standard-welcome-section {
    max-width: 900px;
    margin: 0 auto;
}

.standard-welcome-alert {
    background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
    border: 1px solid #b3e5fc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.standard-welcome-alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.standard-form-layout {
    display: grid;
    gap: 2rem;
}

.standard-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.standard-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.02), transparent);
    animation: shimmer 12s infinite;
    z-index: 1;
}

.standard-section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.standard-section-header h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.standard-section-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

.standard-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.standard-checkbox-group {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.standard-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.standard-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.standard-checkbox-label {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standard-ideas-section {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.standard-ideas-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.standard-ideas-header h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.standard-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.standard-idea-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.standard-idea-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.standard-idea-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.15);
}

.standard-idea-card:hover::before {
    left: 100%;
}

.standard-idea-content {
    position: relative;
    z-index: 2;
}

.standard-idea-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.standard-idea-header h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.standard-like-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.standard-like-btn i {
    font-size: 1rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.standard-idea-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.standard-idea-liked {
    border-color: var(--secondary-color) !important;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(255, 255, 255, 0.95)) !important;
}

.standard-idea-liked .standard-like-btn {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.standard-idea-liked .standard-like-btn i {
    color: white !important;
}

.standard-warning {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border: 1px solid #ffcc02;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f57c00;
    font-weight: 500;
    margin-top: 1rem;
}

.standard-shake {
    animation: shake 0.5s ease-in-out;
}

.standard-submit-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.standard-submit-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.standard-feedback-form {
    position: relative;
    z-index: 2;
}

/* ==========================================
   UTILITY CLASSES & ANIMATIONS
   ========================================== */

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Progress Bar */
.progress {
    height: 12px;
    border-radius: 25px;
    background-color: #e9ecef;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    background: linear-gradient(90deg, var(--secondary-color), #27ae60);
    transition: width 0.8s ease;
    border-radius: 25px;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background-color: white;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    font-weight: bold;
    padding: 1.5rem;
    border-bottom: none;
}

.card-body {
    padding: 2rem;
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */

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

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .summary-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .summary-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .chat-messages {
        min-height: 250px;
        max-height: 300px;
    }
    
    .ai-message {
        max-width: 95%;
        font-size: 0.9rem;
    }
    
    .mode-toggle {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .standard-feedback-container {
        padding: 1rem 0.5rem;
    }
    
    .standard-page-title {
        font-size: 2rem;
    }
    
    .standard-progress-indicator {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .standard-progress-step {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .standard-progress-arrow {
        transform: rotate(90deg);
    }
    
    .standard-auth-card {
        padding: 2rem 1.5rem;
    }
    
    .standard-form-grid {
        grid-template-columns: 1fr;
    }
    
    .standard-ideas-grid {
        grid-template-columns: 1fr;
    }
    
    .standard-section {
        padding: 1.5rem;
    }
    
    .standard-submit-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .standard-btn {
        width: 100%;
        justify-content: center;
    }
    
    .standard-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .standard-checkbox-group {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .standard-section {
        padding: 1.5rem;
    }
}

/* ==========================================
   LEGACY SUPPORT & ADDITIONAL FIXES
   ========================================== */

/* Ensure Bootstrap compatibility */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Input error states */
.form-control.error,
.standard-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Loading overlay support */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-container {
    text-align: center;
    color: white;
}

.compass {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    animation: spin 2s linear infinite;
}

.compass-circle {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid white;
}

.compass-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid white;
}

.compass-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Mobile hidden utility */
.mobilehidden {
    display: block;
}

@media (max-width: 768px) {
    .mobilehidden {
        display: none !important;
    }
}

/* ==========================================
   NAVIGATION DROPDOWN FIXES
   ========================================== */

/* Theme Dropdown speziell */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 8px;
    min-width: 220px;
    background: white;
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: none;
    background: none;
}

/* Theme Items mit mehrzeiligem Content */
.dropdown-item.theme-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
}

.dropdown-item.theme-item .theme-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2px;
}

.dropdown-item.theme-item .theme-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    padding-left: 24px; /* Icon + gap space */
}

/* Hover States */
.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    transform: translateX(3px);
}

.dropdown-item:hover .theme-header {
    color: white;
}

.dropdown-item:hover .theme-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Active State */
.dropdown-item.active {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: white;
    position: relative;
}

.dropdown-item.active::before {
    content: "✓";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1rem;
}

.dropdown-item.active .theme-header {
    color: white;
}

.dropdown-item.active .theme-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Simple Dropdown Items (wie Demo) */
.dropdown-item.simple-item {
    padding: 10px 20px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.dropdown-item.simple-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
}

/* Icon Styling */
.dropdown-item i {
    font-size: 1rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Dropdown Divider */
.dropdown-divider {
    margin: 8px 12px;
    border-color: #e9ecef;
}

/* ==========================================
   IMPROVED FEEDBACK SYSTEM
   ========================================== */

/* Feedback Target Highlighting */
.feedback-target {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.feedback-target.feedback-highlight {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
    border: 2px dashed rgba(52, 152, 219, 0.3);
    padding: 12px;
    margin: 8px 0;
}

.feedback-target.feedback-highlight::before {
    content: "💬 Feedback";
    position: absolute;
    top: -12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Feedback Buttons Container */
.feedback-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 12px;
    padding: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* Individual Feedback Buttons */
.feedback-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feedback-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.feedback-button:hover::before {
    left: 100%;
}

.feedback-button:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Like Button */
.feedback-button.like-button {
    border-color: var(--secondary-color);
}

.feedback-button.like-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.feedback-button.like-button:hover .feedback-icon {
    transform: scale(1.2);
}

/* Dislike Button */
.feedback-button.dislike-button {
    border-color: var(--danger-color);
}

.feedback-button.dislike-button:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

.feedback-button.dislike-button:hover .feedback-icon {
    transform: scale(1.2);
}

/* Idea Button */
.feedback-button.idea-button {
    border-color: var(--warning-color);
}

.feedback-button.idea-button:hover {
    background: var(--warning-color);
    border-color: var(--warning-color);
}

.feedback-button.idea-button:hover .feedback-icon {
    transform: scale(1.2);
}

/* Feedback Icons */
.feedback-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feedback-button:hover .feedback-icon {
    filter: brightness(0) invert(1); /* Make white on hover */
}

/* Feedback Idea Box */
.feedback-idea-box {
    margin-top: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.feedback-idea-box textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    resize: vertical;
    min-height: 60px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feedback-idea-box textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.feedback-idea-box .btn {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.feedback-idea-box .btn:hover {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Feedback Navigation Link */
.nav-link.feedback-active {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2)) !important;
    color: white !important;
    font-weight: 600;
}

.nav-link.feedback-active::after {
    content: " ✓";
    font-weight: bold;
}

/* Feedback Confirmation Message */
.feedback-thanks-message {
    font-family: 'Segoe UI', sans-serif;
    border: 2px solid #c3e6cb;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    transition: all 0.3s ease;
    animation: feedbackSlideIn 0.3s ease-out;
}

/* Responsive Feedback */
@media (max-width: 768px) {
    .feedback-buttons {
        justify-content: center;
        gap: 12px;
    }
    
    .feedback-button {
        width: 45px;
        height: 45px;
    }
    
    .feedback-target.feedback-highlight {
        padding: 8px;
        margin: 4px 0;
    }
    
    .feedback-idea-box {
        padding: 12px;
    }
}

/* ==========================================
   FEEDBACK BUTTON STATES
   ========================================== */

/* Clicked State Animation */
.feedback-button.feedback-clicked {
    animation: feedbackPulse 0.6s ease-out;
}

@keyframes feedbackPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

/* Loading Spinner für Buttons */
.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125em;
}

/* Disabled Button State */
.feedback-submit-idea:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Idea Button Active State */
.feedback-button.idea-button.active {
    background: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
    color: white !important;
}

/* Bessere Icon Klickbarkeit */
.feedback-button {
    cursor: pointer;
    user-select: none;
}

.feedback-button .feedback-icon {
    display: block;
    width: 100%;
    text-align: center;
}

/* Feedback Message Animation */
@keyframes feedbackSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Smooth Transitions */
.feedback-button,
.feedback-idea-box,
.feedback-target {
    transition: all 0.3s ease;
}

/* Hover Improvements */
.feedback-button:hover {
    cursor: pointer;
    z-index: 10;
}

/* ==========================================
   HOMEPAGE FOOTER
   ========================================== */

.homepage-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.homepage-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-footer a:hover {
    color: white;
    transform: translateX(3px);
}

.homepage-footer .bi {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.homepage-footer .bi:hover {
    transform: scale(1.2);
}

.homepage-footer hr {
    border-color: rgba(255,255,255,0.2);
}

.homepage-footer h5,
.homepage-footer h6 {
    color: white;
}

.homepage-footer .text-muted {
    color: rgba(255,255,255,0.7) !important;
}