:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-hover: #4f46e5;
    --accent-color: #10b981;
    --bg-color: #fafbfe;
    --surface-color: rgba(255, 255, 255, 0.75);
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(226, 232, 240, 0.8);
    --input-focus-shadow: rgba(99, 102, 241, 0.15);
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 15px 25px -10px rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background floating animated blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(129, 140, 248, 0) 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(167, 139, 250, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0) 70%);
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -80px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Container Glassmorphism Card */
.container {
    background-color: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--card-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 680px;
    margin: 2.5rem;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.08), 0 20px 35px -15px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.dashboard-container {
    max-width: 1240px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* Custom Multi-Step Progress Indicator */
.progress-bar-container {
    margin-bottom: 3rem;
    position: relative;
    padding: 0 10px;
}

.progress-line-track {
    position: absolute;
    top: 20px;
    left: 45px;
    right: 45px;
    height: 4px;
    background-color: rgba(226, 232, 240, 0.6);
    border-radius: 2px;
    z-index: 1;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.progress-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
}

.step-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid rgba(226, 232, 240, 0.8);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.progress-step-item.active .step-node {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.15), 0 4px 10px rgba(99, 102, 241, 0.1);
}

.progress-step-item.completed .step-node {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.15);
}

.step-label {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.progress-step-item.active .step-label {
    color: var(--primary-color);
}

.progress-step-item.completed .step-label {
    color: var(--text-color);
}

/* Floating Label Form Fields */
.input-group {
    position: relative;
    margin-bottom: 1.6rem;
}

.input-group input {
    width: 100%;
    padding: 1.15rem 1.15rem 0.65rem 1.15rem;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.55);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.input-group input:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--input-focus-shadow), 0 4px 12px rgba(99, 102, 241, 0.04);
}

.input-group label {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Float label to top when input is focused or has text */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: 28%;
    transform: translateY(-50%) scale(0.8);
    transform-origin: left top;
    color: var(--primary-color);
    font-weight: 600;
}

/* Animated Steps Flow */
.step {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-active {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
}

/* Action Buttons */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 2.2rem;
}

button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

button:active, .btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(226, 232, 240, 0.7);
    color: #475569;
    box-shadow: none;
    border: 1px solid rgba(203, 213, 225, 0.5);
}

.btn-secondary:hover {
    background: rgba(226, 232, 240, 0.95);
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Custom Interactive Card Package Selector (Step 3) */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 1.8rem;
}

.package-card {
    border: 2px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.45);
    padding: 1.5rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -8px rgba(99, 102, 241, 0.1);
}

.package-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.04);
    box-shadow: 0 10px 22px -6px rgba(99, 102, 241, 0.15);
}

.package-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.package-card.selected .package-badge {
    background-color: var(--primary-color);
    color: #ffffff;
}

.package-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-hover);
    margin-bottom: 0.4rem;
}

.package-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.package-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Checked dot for package */
.package-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #ffffff;
}

.package-card.selected .package-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.package-card.selected .package-check::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

/* Modern Bank Details Display */
.bank-details-box {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 1.35rem;
    margin-bottom: 1.8rem;
}

.bank-details-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bank-item {
    font-size: 0.82rem;
}

.bank-item span {
    display: block;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.bank-item strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Custom Interactive Upload Dropzone */
.upload-dropzone {
    border: 2px dashed rgba(148, 163, 184, 0.4);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.03);
}

.upload-icon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    color: var(--primary-light);
    display: inline-block;
    transition: transform 0.3s ease;
}

.upload-dropzone:hover .upload-icon {
    transform: translateY(-3px);
}

.upload-text {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Thumbnail preview for uploaded slip */
.preview-container {
    display: none;
    margin-top: 1rem;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.preview-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}

.preview-details {
    flex-grow: 1;
    min-width: 0;
}

.preview-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-size {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.preview-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    width: auto;
    box-shadow: none;
}

.preview-remove:hover {
    background: rgba(239, 68, 68, 0.08);
    transform: none;
    box-shadow: none;
}

/* Success celebratory layout */
.success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.03);
}

/* Detailed preview of submitted details */
.preview-grid-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-grid-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-card {
    background: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.detail-card.span-2 {
    grid-column: span 2;
}

.detail-card span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.detail-card strong {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.password-display {
    font-family: 'Courier New', Courier, monospace;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.88rem;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* Success animated SVG Checkmark */
.checkmark {
    width: 36px;
    height: 36px;
    stroke: var(--accent-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Alert Boxes */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Table Dashboard */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 15px;
}

.header-actions .btn {
    width: auto;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 16px;
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

th, td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

tr {
    transition: background-color 0.2s ease;
}

tr:hover {
    background-color: rgba(99, 102, 241, 0.02);
}

/* Mobile Responsiveness styling */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-card.span-2 {
        grid-column: span 1;
    }
    
    .bank-details-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-step-item {
        width: 70px;
    }
    
    .step-node {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .progress-line-track {
        top: 18px;
        left: 35px;
        right: 35px;
    }
}

