/* Workshop Custom Styles - WKM Design System */

/* CSS Variables for Aktiv Theme Colors */
:root {
    --aktiv-blue: #4EB6F5;
    --aktiv-green: #58938E;
    --aktiv-orange: #B4A476;
    --aktiv-red: #EB5757;
    --aktiv-grey: #6B7280;
    --aktiv-black: #1F2937;
    --aktiv-purple: #8B5CF6;
    --aktiv-light-blue: #DFEFFF;
    --aktiv-light-green: #D4EAE8;
    --aktiv-light-orange: #FDF6E4;
    --aktiv-light-red: #FEE3E3;
    --aktiv-light-grey: #F9FAFB;
    --aktiv-light-purple: #F3E8FF;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--aktiv-black);
    background: linear-gradient(135deg, var(--aktiv-light-blue) 0%, #E0F2FE 50%, var(--aktiv-light-green) 100%);
    min-height: 100vh;
}

/* Typography */
.heading-primary {
    font-family: 'Neue Plak', system-ui, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.heading-secondary {
    font-family: 'Neue Plak', system-ui, sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    color: var(--aktiv-black);
    margin-bottom: 1rem;
}

.heading-tertiary {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--aktiv-black);
    margin-bottom: 0.75rem;
}

.text-muted {
    color: var(--aktiv-grey);
    font-weight: 400;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Cards and Surfaces */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

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

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-body {
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color) 0%, var(--color-light) 100%);
    opacity: 0.1;
}

.stat-icon.blue {
    --color: var(--aktiv-blue);
    --color-light: var(--aktiv-light-blue);
    background: linear-gradient(135deg, var(--aktiv-blue) 0%, #60A5FA 100%);
}

.stat-icon.green {
    --color: var(--aktiv-green);
    --color-light: var(--aktiv-light-green);
    background: linear-gradient(135deg, var(--aktiv-green) 0%, #34D399 100%);
}

.stat-icon.orange {
    --color: var(--aktiv-orange);
    --color-light: var(--aktiv-light-orange);
    background: linear-gradient(135deg, var(--aktiv-orange) 0%, #FBBF24 100%);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--aktiv-black);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(230, 231, 235, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: var(--aktiv-blue);
    box-shadow: 0 0 0 3px rgba(78, 182, 245, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-input.error {
    border-color: var(--aktiv-red);
    box-shadow: 0 0 0 3px rgba(235, 87, 87, 0.1);
}

.form-input::placeholder {
    color: var(--aktiv-grey);
    opacity: 0.7;
}

.error-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--aktiv-red);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: 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(--aktiv-blue) 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(78, 182, 245, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(78, 182, 245, 0.35);
}

.btn-orange {
    background: linear-gradient(135deg, var(--aktiv-orange) 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(180, 164, 118, 0.25);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(180, 164, 118, 0.35);
}

.btn-green {
    background: linear-gradient(135deg, var(--aktiv-green) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(88, 147, 142, 0.25);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(88, 147, 142, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--aktiv-grey);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--aktiv-black);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-brand {
    font-family: 'Neue Plak', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--aktiv-black);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-text {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
}

.navbar-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--aktiv-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: #DC2626;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: var(--aktiv-light-red);
    border-color: var(--aktiv-red);
    color: var(--aktiv-red);
}

.alert-success {
    background-color: var(--aktiv-light-green);
    border-color: var(--aktiv-green);
    color: var(--aktiv-green);
}

.alert-warning {
    background-color: var(--aktiv-light-orange);
    border-color: var(--aktiv-orange);
    color: var(--aktiv-orange);
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid.grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--aktiv-light-blue) 0%, rgba(219, 234, 254, 0.8) 100%);
    border: 1px solid rgba(78, 182, 245, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.info-box-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.info-box-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--aktiv-blue);
}

.info-box-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--aktiv-blue);
    margin: 0;
}

.info-box-content {
    margin-left: 2rem;
}

.info-box-list {
    list-style: none;
    padding: 0;
}

.info-box-list li {
    font-size: 0.875rem;
    color: var(--aktiv-blue);
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1rem;
}

.info-box-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--aktiv-blue);
    font-weight: bold;
}

/* Navigation Cards */
.nav-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(15px);
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.nav-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.nav-card-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.nav-card-description {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
    line-height: 1.5;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.success {
    background: var(--aktiv-light-green);
    color: var(--aktiv-green);
}

.status-badge.error {
    background: var(--aktiv-light-red);
    color: var(--aktiv-red);
}

.status-badge.pay-later {
    background: var(--aktiv-light-orange);
    color: var(--aktiv-orange);
}

/* Details List */
.details-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .details-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.details-item dt {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--aktiv-grey);
    margin-bottom: 0.25rem;
}

.details-item dd {
    font-size: 0.875rem;
    color: var(--aktiv-black);
    font-weight: 500;
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .heading-primary {
        font-size: 2rem;
    }
    
    .heading-secondary {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .navbar-content {
        padding: 0 1rem;
    }
    
    .nav-card {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: var(--aktiv-light-green);
    border-color: var(--aktiv-green);
    color: var(--aktiv-green);
}

.alert-error {
    background-color: var(--aktiv-light-red);
    border-color: var(--aktiv-red);
    color: var(--aktiv-red);
}

.alert-warning {
    background-color: var(--aktiv-light-orange);
    border-color: var(--aktiv-orange);
    color: var(--aktiv-orange);
}

/* Form Styles */
input[type="file"] {
    transition: border-color 0.2s ease;
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--aktiv-blue);
    box-shadow: 0 0 0 3px rgba(78, 182, 245, 0.1);
}

/* Button Hover States */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
