/* TrendBridge Custom Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Brand styling */
.brand-logo {
    font-size: 1.1rem;
    font-weight: 300;
    color: #007bff !important;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.brand-logo:hover {
    color: #0056b3 !important;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid #dee2e6;
}

.navbar-nav .nav-link {
    color: #6c757d !important;
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-body {
    padding: 2rem;
}

/* Forms */
.form-control {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

/* Buttons */
.btn {
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Alerts */
.alert {
    border-radius: 0.375rem;
    border: none;
    margin-bottom: 1rem;
}

/* Jumbotron */
.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
}

.jumbotron h1 {
    font-weight: 300;
}

/* Profile cards */
.card-title {
    color: #495057;
    font-weight: 500;
}

.card-text {
    color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .jumbotron {
        padding: 3rem 2rem;
    }
}

/* PWA specific styles */
.pwa-install-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

.pwa-install-banner.show {
    display: block;
}

.pwa-install-banner button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin: 0 0.5rem;
}

.pwa-install-banner button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Offline indicator */
.offline-indicator {
    position: fixed;
    top: 60px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    z-index: 1000;
    display: none;
}

.offline-indicator.show {
    display: block;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 2rem;
}

.loading-spinner.show {
    display: block;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Admin form styling */
pre code {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Dropdown menus */
.dropdown-menu {
    border-radius: 0.375rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Text utilities */
.text-muted {
    color: #6c757d !important;
}

/* Spacing utilities */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
