/* Phlox Studio Loyalty System - Main Styles */

/* Color Variables */
:root {
    --color-primary: #000000;
    --color-secondary: #6b7280;
    --color-accent: #1e40af;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-light: #f3f4f6;
    --border-radius: 1rem;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f2937;
}

/* Logo Styles */
.logo-large {
    max-width: 200px;
    height: auto;
}

.logo-medium {
    max-width: 150px;
    height: auto;
}

.logo-small {
    max-width: 100px;
    height: auto;
}

/* Card Styles */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Rounded Corners */
.rounded-4 {
    border-radius: var(--border-radius) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Button Styles */
.btn {
    font-weight: 500;
    transition: all 0.2s;
}

.btn-dark {
    background: linear-gradient(135deg, #000000 0%, #1f2937 100%);
    border: none;
}

.btn-dark:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.15);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.75em;
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* Progress Bar */
.progress {
    background-color: #e5e7eb;
}

.progress-bar {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
}

/* Table Styles */
.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: #f9fafb;
}

/* List Group */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-large {
        max-width: 150px;
    }
    
    .logo-medium {
        max-width: 120px;
    }
    
    h1.h3 {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .alert {
        display: none !important;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

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

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}