/* FITNESS REFUND SYSTEM - CUSTOM CSS */
:root {
    --primary-color: #1e3a8a;
    --primary-hover: #172554;
    --secondary-color: #475569;
    --accent-color: #0284c7;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-light: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bg-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* NAVBAR */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.15rem;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* CARDS */
.custom-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card {
    border-left: 4px solid var(--accent-color);
}

.stat-card.stat-success {
    border-left-color: var(--success-color);
}

.stat-card.stat-warning {
    border-left-color: var(--warning-color);
}

.stat-card.stat-danger {
    border-left-color: var(--danger-color);
}

/* STEPPER TIMELINE */
.stepper-container {
    position: relative;
    padding: 1.5rem 0;
}

.step-card {
    position: relative;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.3s ease;
}

.step-card.step-active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.step-card.step-completed {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.step-card.step-locked {
    opacity: 0.65;
    background-color: #f8fafc;
    border-style: dashed;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: #e2e8f0;
    color: #475569;
}

.step-active .step-badge {
    background: #3b82f6;
    color: #ffffff;
}

.step-completed .step-badge {
    background: #10b981;
    color: #ffffff;
}

/* IMAGE UPLOAD & GALLERY */
.upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.image-thumb-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.image-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-thumb-wrapper img:hover {
    transform: scale(1.05);
}

.image-thumb-wrapper .btn-delete-img {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* LIGHTBOX MODAL */
.modal-lightbox .modal-body {
    padding: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-lightbox img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
}

/* TABLE STYLING */
.table-custom {
    margin-bottom: 0;
}

.table-custom th {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    border-bottom: 2px solid #cbd5e1;
    font-size: 0.875rem;
}

.table-custom td {
    vertical-align: middle;
    font-size: 0.9rem;
}
