/* Qvamp Benefit Store - Minimalist Pipedrive-inspired design */

:root {
    /* Pipedrive-inspired color palette */
    --primary: #a30657;
    --primary-light: #590330;
    --secondary: #262a33;
    --accent: #590330;
    --success: #0F683E;
    --warning: #F39C12;
    --danger: #E74C3C;
    --info: #590330;

    /* Neutrals */
    --white: #ffffff;
    --light: #F8F9FA;
    --light-gray: #ECF0F1;
    --gray: #95A5A6;
    --dark-gray: #7F8C8D;
    --dark: #0F0F0F;
    --text-dark: #2C3E50;
    --text-muted: #7F8C8D;

    /* Minimalist shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);

    /* Border radius - more subtle */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Border colors */
    --border-light: #E5E9F2;
    --border: #D5DBE5;
}

/* Global styles */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--light);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

a{
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

/* Cards */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    overflow: hidden;
    background: var(--white);
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: var(--light);
    border-top: 1px solid var(--border-light);
    padding: 16px 20px;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    line-height: 1.4;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn:focus {
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--gray);
    color: white;
    border-color: var(--gray);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--gray);
    border-color: var(--border);
}

.btn-outline-secondary:hover {
    background: var(--gray);
    color: white;
    border-color: var(--gray);
}

.btn-success {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.btn-success:hover {
    background: #229954;
    border-color: #229954;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #C0392B;
    border-color: #C0392B;
}

.btn-info {
    background: var(--info);
    color: white;
    border-color: var(--info);
}

.btn-info:hover {
    background: #2980B9;
    border-color: #2980B9;
}

.btn-warning {
    background: var(--warning);
    color: white;
    border-color: var(--warning);
}

.btn-warning:hover {
    background: #D68910;
    border-color: #D68910;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Tables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-dark);
    background-color: transparent;
}

.table th,
.table td {
    padding: 12px;
    vertical-align: middle;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
}

.table th {
    font-weight: 600;
    border-bottom: 2px solid var(--border);
    background: var(--light);
    color: var(--text-dark);
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Statistics Cards */
.stat-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    height: 100%;
    background: var(--white);
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-card .card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.stat-card .card-text {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: var(--text-muted);
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 20px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-link:hover{
    background: var(--primary)!important;
    color: white!important;
}
.nav-link.active {
    background: var(--primary)!important;
    color: white!important;
}

/* Forms */
.form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* Badges */
.badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.badge.bg-success {
    background-color: var(--success) !important;
}

.badge.bg-warning {
    background-color: var(--warning) !important;
}

.badge.bg-danger {
    background-color: var(--danger) !important;
}

.badge.bg-info {
    background-color: var(--info) !important;
}

.badge.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-secondary {
    background-color: var(--secondary) !important;
}

/* Alerts */
.alert {
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border-color: var(--success);
    color: #1e8449;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--danger);
    color: #a93226;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--warning);
    color: #b7950b;
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border-color: var(--info);
    color: #2471a3;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    background: var(--white);
}

.modal-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 18px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 16px 20px;
    background: var(--light);
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}

.login-card {
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

/* Progress bars */
.progress {
    height: 6px;
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.progress-bar.bg-success {
    background-color: var(--success);
}

.progress-bar.bg-info {
    background-color: var(--info);
}

.progress-bar.bg-warning {
    background-color: var(--warning);
}

/* Utility classes */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-gradient {
    color: var(--primary);
}

/* Remove old Qvamp-specific classes */
.shadow-qvamp {
    box-shadow: var(--shadow) !important;
}

.shadow-qvamp-lg {
    box-shadow: var(--shadow-lg) !important;
}

.bg-gradient {
    background: var(--primary) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card-body {
        padding: 16px;
    }

    .btn {
        padding: 10px 16px;
    }
}

.redemption-code{
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 500;
}