/* Main Styles for Zenovia Health - Professional color matching */

/* Color variables for consistency */
:root {
    --primary-blue: #003366; /* Dark navy blue to match logo */
    --primary-blue-hover: #00264d; /* Slightly darker for hover states */
    --secondary-blue: #1e5da8; /* Complementary medium blue */
    --light-blue: #e6f0fa; /* Very light blue for backgrounds */
    --accent-blue: #4a90e2; /* Accent blue for highlights */
}

/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar styles */
nav.bg-white {
    border-bottom: 1px solid #e5e7eb;
}

/* Logo container background - make it match the logo's blue */
a[href="dashboard.html"] {
    background-color: transparent; /* Remove any background */
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

/* Button styles */
.btn-primary, 
.bg-blue-600 {
    background-color: var(--primary-blue) !important;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.bg-blue-600:hover {
    background-color: var(--primary-blue-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Text colors - change light blue text to match */
.text-blue-600 {
    color: var(--primary-blue) !important;
}

/* Background colors */
.bg-blue-100 {
    background-color: var(--light-blue) !important;
}

.text-blue-800 {
    color: var(--primary-blue) !important;
}

/* Client Portal badge */
.bg-blue-100.text-blue-800 {
    background-color: var(--light-blue) !important;
    color: var(--primary-blue) !important;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing styles */
.pricing-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    background-color: var(--primary-blue);
    color: white;
    position: relative;
    z-index: 1;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Success and error messages */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Subscription page specific styles */
.plan-card {
    border: 2px solid #eaeaea;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: var(--primary-blue);
}

.selected-plan {
    border-color: var(--primary-blue);
    background-color: rgba(0, 51, 102, 0.05);
}

/* Welcome section */
.bg-blue-600 {
    background-color: var(--primary-blue) !important;
}

/* Adjust user initials circle */
.bg-blue-100.rounded-full {
    background-color: var(--light-blue) !important;
}

.text-blue-800.font-bold.user-initials {
    color: var(--primary-blue) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .pricing-card.popular {
        transform: none;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}