/* ShopRemind Styles */

:root {
    --sr-primary: #0d6efd;
    --sr-secondary: #6c757d;
    --sr-success: #198754;
    --sr-danger: #dc3545;
    --sr-warning: #ffc107;
    --sr-light: #f8f9fa;
    --sr-dark: #212529;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f7fa;
}

main {
    flex: 1;
}

/* Navbar */
.navbar-brand img {
    border-radius: 4px;
}

/* Landing Page */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 80px 0;
    margin: -1.5rem -12px 2rem -12px;
    width: calc(100% + 24px);
    position: relative;
    overflow: hidden;
}

.hero-shops-bg {
    position: absolute;
    inset: 0;
    background: center center / cover no-repeat;
    opacity: 0.33;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-section .lead {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

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

.stat-card .stat-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
}

/* Feature cards */
.feature-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--sr-primary);
    margin-bottom: 1rem;
}

/* Dashboard */
.dashboard-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dashboard-card .card-header {
    background: none;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* Tables */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Forms */
.form-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

/* Auth pages */
.auth-container {
    max-width: 480px;
    margin: 2rem auto;
}

.auth-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.auth-card .card-body {
    padding: 2rem;
}

/* Badge status colors */
.badge-pending { background-color: #ffc107; color: #212529; }
.badge-queued { background-color: #0dcaf0; color: #212529; }
.badge-sent { background-color: #198754; }
.badge-failed { background-color: #dc3545; }
.badge-cancelled { background-color: #6c757d; }

/* Quick actions */
.quick-action {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.quick-action:hover {
    background-color: var(--sr-light);
    color: inherit;
}

.quick-action i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: var(--sr-primary);
}

/* Music Player */
.music-player {
    position: fixed;
    top: 13px;
    right: 20px;
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: box-shadow 0.2s;
}

.music-player:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.music-player .mp-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--sr-primary);
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.15s;
}

.music-player .mp-btn:hover {
    color: #0a58ca;
}

.music-player .mp-title {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--sr-dark);
    font-weight: 500;
}

.music-player .mp-time {
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: var(--sr-secondary);
    min-width: 38px;
    text-align: right;
}

.music-player .mp-volume {
    width: 40px;
    height: 4px;
    accent-color: var(--sr-primary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .stat-card .stat-number {
        font-size: 1.5rem;
    }
}
