        :root {
            --primary-gold: #D4AF37;
            --secondary-gold: #B8960C;
            --dark-charcoal: #1a1a1a;
            --soft-white: #fefefe;
            --light-gray: #f5f5f5;
            --medium-gray: #e0e0e0;
            --text-gray: #555;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%, #1a1a1a 100%);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            color: var(--dark-charcoal);
            overflow-x: hidden;
            position: relative;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
            pointer-events: none;
            z-index: -1;
            animation: patternMove 20s ease-in-out infinite;
        }

        @keyframes patternMove {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(20px, 20px); }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }

        .container {
            animation: fadeIn 0.8s ease-out;
        }

        .row {
            animation: fadeInUp 1s ease-out;
        }

        .header-section {
            text-align: center;
            padding: 60px 0 40px;
            position: relative;
        }

        .header-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
            animation: expandLine 2s ease-out;
        }

        @keyframes expandLine {
            from { width: 0; }
            to { width: 150px; }
        }

        h1 {
            font-family: 'Poppins', sans-serif;
            font-size: 3.5rem;
            font-weight: 500;
            color: var(--soft-white);
            letter-spacing: 2px;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        h1::before {
            position: absolute;
            left: -40px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-gold);
            font-size: 1.5rem;
            animation: sparkle 2s ease-in-out infinite;
        }

        h1::after {
            position: absolute;
            right: -40px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-gold);
            font-size: 1.5rem;
            animation: sparkle 2s ease-in-out infinite 1s;
        }

        @keyframes sparkle {
            0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
            50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
        }

        .form-desc, .form-desc-2 {
            background: white;
            border-left: 4px solid var(--primary-gold);
            padding: 25px 30px;
            margin-bottom: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            font-size: 0.95rem;
            line-height: 1.8;
            color: var(--text-gray);
            animation: fadeInUp 1.2s ease-out 0.3s both;
            position: relative;
            overflow: hidden;
        }

        .form-desc-2 {
            animation-delay: 0.5s;
            text-align: center;
        }

        .form-desc::before, .form-desc-2::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .form-desc:hover::before, .form-desc-2:hover::before {
            left: 100%;
        }

        #notes-title {
            font-size: 1.1rem;
            margin-bottom: 10px;
            display: block;
            text-align: center;
        }

        #rekeningNumber {
            font-weight: 600;
            color: var(--primary-gold);
            font-size: 2rem;
            letter-spacing: 1px;
        }

        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            background: white;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInUp 1s ease-out both;
        }

        .card:nth-child(2) { animation-delay: 0.2s; }
        .card:nth-child(3) { animation-delay: 0.4s; }
        .card:nth-child(4) { animation-delay: 0.6s; }
        .card:nth-child(5) { animation-delay: 0.8s; }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
        }

        .card-header {
            background: linear-gradient(135deg, var(--dark-charcoal) 0%, #2a2a2a 100%);
            color: white;
            padding: 25px 30px;
            border: none;
            position: relative;
            overflow: hidden;
        }

        .card-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
            animation: shimmer 3s infinite;
        }

        .card-header h4 {
            font-family: 'Poppins', serif;
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0;
            letter-spacing: 1px;
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .card-body {
            padding: 35px 30px;
        }

        .form-label {
            font-weight: 500;
            color: var(--dark-charcoal);
            margin-bottom: 10px;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .form-control, .form-select {
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            padding: 12px 18px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: var(--soft-white);
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
            outline: none;
            transform: translateY(-2px);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .form-check {
            padding: 12px 20px;
            margin-bottom: 10px;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: var(--light-gray);
            cursor: pointer;
        }

        .form-check:hover {
            background: rgba(212, 175, 55, 0.08);
            transform: translateX(5px);
        }

        .form-check-input {
            width: 20px;
            height: 20px;
            margin-top: 0.15em;
            border: 2px solid var(--primary-gold);
            cursor: pointer;
            pointer-events: none;
        }

        .form-check-input:checked {
            background-color: var(--primary-gold);
            border-color: var(--primary-gold);
        }

        .form-check-label {
            font-size: 1rem;
            color: var(--dark-charcoal);
            cursor: pointer;
            font-weight: 400;
            letter-spacing: 0.5px;
            width: 100%;
        }

        .btn {
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-outline-primary {
            color: var(--primary-gold);
            border: 2px solid var(--primary-gold);
            background: transparent;
        }

        .btn-outline-primary:hover {
            background: var(--primary-gold);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
            color: white;
            border: none;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
        }

        .btn-lg {
            padding: 18px 50px;
            font-size: 1.1rem;
            letter-spacing: 2px;
        }

        .submit-btn-wrapper {
            text-align: center;
            padding: 40px 0;
            animation: fadeInUp 1.5s ease-out both;
        }

        .alert {
            border: none;
            border-radius: 8px;
            padding: 15px 20px;
            animation: fadeInUp 0.5s ease-out;
        }

        .alert-success {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            color: #155724;
            border-left: 4px solid #28a745;
        }

        .alert-danger {
            background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
            color: #721c24;
            border-left: 4px solid #dc3545;
        }

        .alert-info {
            background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
            color: #0c5460;
            border-left: 4px solid #17a2b8;
        }

        .text-danger {
            color: var(--primary-gold) !important;
            font-weight: 700;
        }

        .form-control[type="file"] {
            padding: 10px;
            cursor: pointer;
        }

        .form-text {
            color: var(--text-gray);
            font-size: 0.85rem;
            font-style: italic;
            margin-top: 8px;
        }

        .fw-bold {
            color: var(--dark-charcoal);
            font-size: 1.1rem;
            margin-top: 25px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--medium-gray);
            font-family: 'Poppins', serif;
            letter-spacing: 1px;
        }

        /* ✅ FILE PREVIEW STYLES */
        .file-preview-container {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background: var(--light-gray);
            border-radius: 8px;
            border: 2px solid var(--medium-gray);
            animation: fadeInUp 0.4s ease-out;
        }

        .file-preview-container.show {
            display: block;
        }

        .file-preview-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 0;
        }

        .file-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .file-details {
            flex: 1;
            min-width: 0;
        }

        .file-name {
            font-weight: 600;
            color: var(--dark-charcoal);
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }

        .file-size {
            font-size: 0.85rem;
            color: var(--text-gray);
        }

        .btn-remove-file {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #dc3545;
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            font-weight: 700;
            line-height: 1;
            flex-shrink: 0;
            padding: 0;
        }

        .btn-remove-file:hover {
            background: #c82333;
            transform: scale(1.1) rotate(90deg);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }

            h1::before, h1::after {
                display: none;
            }

            .card-header h4 {
                font-size: 1.5rem;
            }

            .form-desc, .form-desc-2 {
                padding: 20px;
                font-size: 0.9rem;
            }

            .card-body {
                padding: 25px 20px;
            }

            .file-preview-content {
                flex-direction: column;
                align-items: stretch;
            }

            .file-info {
                flex-direction: column;
                align-items: flex-start;
            }

            .btn-remove-file {
                align-self: center;
            }
        }

        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        html {
            scroll-behavior: smooth;
        }

        ::selection {
            background: var(--primary-gold);
            color: white;
        }

        ::-moz-selection {
            background: var(--primary-gold);
            color: white;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            backdrop-filter: blur(5px);
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.show {
            display: flex !important;
            opacity: 1 !important;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
            text-align: center;
            position: relative;
            overflow: hidden;
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modal-overlay.show .modal-content {
            transform: scale(1);
        }

        .modal-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
        }

        .modal-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            animation: iconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .modal-icon.success {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            color: #28a745;
        }

        .modal-icon.warning {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            color: #ffc107;
        }

        @keyframes iconPop {
            0% {
                transform: scale(0);
                opacity: 0;
            }
            50% {
                transform: scale(1.2);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .modal-title {
            font-family: 'Poppins', serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-charcoal);
            margin-bottom: 15px;
        }

        .modal-message {
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .modal-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .modal-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .modal-btn-primary {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            color: white;
        }

        .modal-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
        }

        .modal-btn-secondary {
            background: var(--light-gray);
            color: var(--dark-charcoal);
        }

        .modal-btn-secondary:hover {
            background: var(--medium-gray);
        }

        .field-incomplete {
            border: 2px solid #dc3545 !important;
            animation: shake 0.5s;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .date-display {
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            padding: 15px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 60px;
            display: flex;
            align-items: center;
        }

        .date-display:hover {
            border-color: var(--primary-gold);
            background: rgba(212, 175, 55, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
        }

        .date-display-content {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 100%;
        }

        .calendar-icon {
            color: var(--primary-gold);
            flex-shrink: 0;
        }

        #selectedDateText {
            font-size: 1.1rem;
            color: var(--text-gray);
            font-weight: 500;
        }

        .date-display.selected #selectedDateText {
            color: var(--dark-charcoal);
            font-weight: 600;
        }

        .date-picker-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10001;
            backdrop-filter: blur(5px);
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .date-picker-overlay.show {
            display: flex !important;
            opacity: 1 !important;
        }

        .date-picker-content {
            background: white;
            border-radius: 20px;
            max-width: 800px;
            width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
            position: relative;
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .date-picker-overlay.show .date-picker-content {
            transform: scale(1);
        }

        .date-picker-header {
            background: linear-gradient(135deg, var(--dark-charcoal) 0%, #2a2a2a 100%);
            color: white;
            padding: 25px 30px;
            border-radius: 20px 20px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .date-picker-header h3 {
            font-family: 'Poppins', serif;
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0;
            letter-spacing: 1px;
        }

        .date-picker-close {
            background: transparent;
            border: none;
            color: white;
            font-size: 2.5rem;
            line-height: 1;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .date-picker-close:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(90deg);
        }

        .date-picker-body {
            padding: 30px;
        }

        .section-title {
            font-family: 'Poppins', serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark-charcoal);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-gold);
        }

        .month-section {
            margin-bottom: 40px;
        }

        .month-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
        }

        .month-item {
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            border-radius: 15px;
            padding: 20px 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .month-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .month-item:hover::before {
            left: 100%;
        }

        .month-item:hover {
            border-color: var(--primary-gold);
            background: rgba(212, 175, 55, 0.05);
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
        }

        .month-item.selected {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border-color: var(--primary-gold);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        }

        .month-name {
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .month-number {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .month-item.selected .month-name,
        .month-item.selected .month-number {
            color: white;
        }

        .date-section {
            margin-top: 30px;
        }

        .date-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            gap: 10px;
        }

        .date-item {
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            border-radius: 10px;
            padding: 15px 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--dark-charcoal);
            min-height: 60px;
        }

        .date-item:hover {
            border-color: var(--primary-gold);
            background: rgba(212, 175, 55, 0.1);
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
        }

        .date-item.selected {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border-color: var(--primary-gold);
            color: white;
            transform: scale(1.15);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        }

        .date-item.disabled {
            opacity: 0.3;
            cursor: not-allowed;
            pointer-events: none;
        }

        .date-picker-footer {
            padding: 20px 30px;
            border-top: 2px solid var(--medium-gray);
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            background: var(--light-gray);
            border-radius: 0 0 20px 20px;
            position: sticky;
            bottom: 0;
        }

        .btn-date-cancel,
        .btn-date-confirm {
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .btn-date-cancel {
            background: var(--medium-gray);
            color: var(--dark-charcoal);
        }

        .btn-date-cancel:hover {
            background: var(--text-gray);
            color: white;
        }

        .btn-date-confirm {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            color: white;
        }

        .btn-date-confirm:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
        }

        .btn-date-confirm:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        @media (max-width: 768px) {
            .date-picker-content {
                max-width: 95%;
                width: 95%;
            }

            .month-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }

            .date-grid {
                grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
                gap: 8px;
            }

            .date-picker-header h3 {
                font-size: 1.4rem;
            }

            .date-picker-body {
                padding: 20px;
            }
        }