/* Custom styles for Top Dog Rewards Program */
/* Color scheme: Teal primary color (#00AFA9) with white background */

:root {
    --topdog-primary: #00AFA9;
    --topdog-primary-dark: #009993;
    --topdog-success: #28a745;
    --topdog-light: #ffffff;
    --topdog-text: #000000;
}

/* Ensure proper spacing and readability */
body {
    background-color: #ffffff;
    background-image: url('paw-pattern.png');
    background-repeat: repeat;
    background-size: 150px 150px;
    background-attachment: fixed;
    color: #000000;
}

.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.7);
    color: #000000;
    backdrop-filter: blur(1px);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    border: none;
}

/* Progress bar styling */
.progress {
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    background-color: var(--topdog-primary);
}

/* Badge styling */
.badge {
    border-radius: 8px;
}

/* Button hover effects */
.btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Top Dog themed buttons */
.btn-topdog-primary {
    background-color: var(--topdog-primary);
    border: none;
    color: white;
    font-weight: bold;
}

.btn-topdog-primary:hover {
    background-color: var(--topdog-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 175, 169, 0.3);
}

/* Top Dog themed cards */
.card-topdog-header {
    background-color: var(--topdog-primary);
    color: white;
    border-radius: 12px 12px 0 0 !important;
}

.card-topdog-tier {
    border: 2px solid var(--topdog-primary);
}

/* Form input styling */
.form-control {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--topdog-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 175, 169, 0.25);
}

/* Alert styling */
.alert {
    border-radius: 10px;
    border: none;
}

/* Navbar customizations */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer styling */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .badge.fs-4 {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Animation for progress bars */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.progress-bar-animated {
    animation: pulse 2s ease-in-out infinite;
}

/* Custom icon colors */
.text-trophy {
    color: #ffd700 !important;
}

/* Hover effects for cards */
.card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Custom spacing for recommendations */
.recommendation-item {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

/* Status badge sizes */
.status-badge {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
}
