* { font-family: 'Lato', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }
        h1, h2, h3, h4, h5, h6, .fw-bold, .fw-semibold, .btn, .badge { font-family: 'Montserrat', sans-serif; }

        body {
            background: #f5f7fa;
            min-height: 100vh;
            padding-top: 60px;
        }

        /* ========== TOPBAR ========== */
        .epco-topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }

        .topbar-back-btn {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.15);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .topbar-back-btn:hover {
            background: rgba(255,255,255,0.25);
            color: white;
            transform: translateX(-3px);
        }

        .topbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .topbar-brand img {
            height: 34px;
        }

        .topbar-brand span {
            color: white;
            font-weight: 600;
            font-size: 1rem;
        }

        /* ========== HERO HEADER ========== */
        .main-header {
            background: linear-gradient(135deg, rgba(3,105,161,0.75) 0%, rgba(7,89,133,0.8) 50%, rgba(3,105,161,0.75) 100%);
            position: relative;
            overflow: hidden;
        }

        .header-content {
            padding: 50px 0 80px;
            position: relative;
            z-index: 2;
        }

        .header-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 50px;
            color: white;
            font-size: 0.85rem;
            margin-bottom: 20px;
            border: 1px solid rgba(255,255,255,0.3);
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }

        .header-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 10px;
            text-shadow: 0 3px 15px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
        }

        .header-subtitle {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.9);
            max-width: 550px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.4);
        }

        /* ========== FORM CARD ========== */
        .form-wrapper {
            max-width: 800px;
            margin: -50px auto 0;
            padding: 0 20px 60px;
            position: relative;
            z-index: 10;
        }

        .form-card {
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1), 0 2px 10px rgba(0,0,0,0.06);
            overflow: hidden;
        }

        .form-card-header {
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-bottom: 1px solid #e2e8f0;
            padding: 28px 36px;
        }

        .form-card-header h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: #0c4a6e;
            margin: 0 0 4px 0;
        }

        .form-card-header p {
            font-size: 0.9rem;
            color: #64748b;
            margin: 0;
        }

        .form-card-body {
            padding: 36px;
        }

        .section-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #0369a1;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 16px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e0f2fe;
        }

        .form-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #334155;
            margin-bottom: 6px;
        }

        .form-label .required {
            color: #dc3545;
            margin-left: 2px;
        }

        .form-control, .form-select {
            border-radius: 12px;
            padding: 11px 16px;
            border: 1.5px solid #cbd5e1;
            font-size: 0.9rem;
            color: #1e293b;
            transition: border-color 0.2s, box-shadow 0.2s;
            background-color: #fff;
        }

        .form-control::placeholder {
            color: #94a3b8;
        }

        .form-control:focus, .form-select:focus {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 130px;
        }

        .form-text {
            font-size: 0.8rem;
            color: #94a3b8;
        }

        .file-upload-area {
            border: 2px dashed #cbd5e1;
            border-radius: 14px;
            padding: 28px;
            text-align: center;
            background: #f8fafc;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
        }

        .file-upload-area:hover {
            border-color: #0ea5e9;
            background: #f0f9ff;
        }

        .file-upload-area.dragover {
            border-color: #0ea5e9;
            background: #e0f2fe;
        }

        .file-upload-area .upload-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #334155;
            margin-bottom: 4px;
        }

        .file-upload-area .upload-hint {
            font-size: 0.8rem;
            color: #94a3b8;
            margin: 0;
        }

        .file-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .file-preview-item {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            padding: 7px 14px;
            border-radius: 8px;
            font-size: 0.8rem;
            color: #334155;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .file-preview-item .remove-btn {
            cursor: pointer;
            color: #94a3b8;
            font-weight: 700;
            font-size: 1rem;
            line-height: 1;
            transition: color 0.2s;
        }

        .file-preview-item .remove-btn:hover {
            color: #dc3545;
        }

        .btn-primary-submit {
            background: linear-gradient(135deg, #0369a1, #075985);
            border: none;
            border-radius: 12px;
            padding: 12px 32px;
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            transition: all 0.3s;
        }

        .btn-primary-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(3,105,161,0.3);
            color: #fff;
        }

        .btn-cancel {
            border: 1.5px solid #cbd5e1;
            border-radius: 12px;
            padding: 12px 28px;
            font-weight: 500;
            font-size: 0.95rem;
            color: #475569;
            background: #fff;
            transition: all 0.2s;
        }

        .btn-cancel:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
            color: #1e293b;
        }

        .alert-success-custom {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 16px;
            padding: 24px 28px;
            color: #166534;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .alert-success-custom h5 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #15803d;
        }

        .alert-danger-custom {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 12px;
            padding: 14px 20px;
            color: #991b1b;
            font-size: 0.9rem;
        }

        .actions-bar {
            padding: 22px 36px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-top: 1px solid #e2e8f0;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .form-section + .form-section {
            margin-top: 30px;
        }

        @media (max-width: 576px) {
            .form-card-body { padding: 20px; }
            .form-card-header { padding: 20px; }
            .actions-bar { padding: 16px 20px; }
            .form-wrapper { padding: 0 12px 40px; }
            .header-title { font-size: 1.8rem; }
            .header-content { padding: 35px 0 65px; }
        }
