/* Custom Fonts and Colors Override */

/* Import new fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* Root color variables - New color scheme */
:root {
    --primary-color: #1e40af; /* Deep blue */
    --secondary-color: #dc2626; /* Red */
    --accent-color: #059669; /* Emerald green */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

/* Override body font */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--text-dark) !important;
}

/* Headings - Montserrat font */
h1, h2, h3, h4, h5, h6,
.text-5xl, .text-6xl, .text-4xl, .text-3xl, .text-2xl, .text-xl {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

/* Logo and brand text */
.logo, .text-xl.font-bold {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
}

/* Primary buttons - Deep blue */
.bg-blue-600,
button.bg-blue-600,
.open-register-form.bg-blue-600 {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.bg-blue-600:hover,
button.bg-blue-600:hover,
.open-register-form.bg-blue-600:hover {
    background-color: #1e3a8a !important;
}

/* Red buttons - Keep red but adjust shade */
.bg-red-600,
button.bg-red-600 {
    background-color: #c41e3a !important;
    color: white !important;
}

.bg-red-600:hover,
button.bg-red-600:hover {
    background-color: #a01d2e !important;
}

/* Links and hover states */
a.text-blue-600,
.text-blue-600,
.hover\:text-blue-600:hover {
    color: var(--primary-color) !important;
}

/* Background gradients */
.bg-gradient-to-br.from-blue-50.to-indigo-100 {
    background: linear-gradient(to bottom right, #eff6ff, #e0e7ff) !important;
}

.bg-gradient-to-br.from-blue-600.to-indigo-700 {
    background: linear-gradient(to bottom right, var(--primary-color), #4338ca) !important;
}

/* Cards and sections */
.bg-white {
    background-color: var(--bg-white) !important;
}

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

/* Text colors */
.text-gray-900 {
    color: var(--text-dark) !important;
}

.text-gray-600 {
    color: var(--text-light) !important;
}

/* Accent colors for icons and highlights */
.text-green-600 {
    color: var(--accent-color) !important;
}

.text-purple-600 {
    color: #7c3aed !important;
}

/* Number badges and highlights */
.bg-blue-600.text-white {
    background-color: var(--primary-color) !important;
}

/* Footer */
.bg-gray-900 {
    background-color: #0f172a !important;
}

/* Form inputs */
input:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    outline-color: var(--primary-color) !important;
}

/* Success messages */
.text-green-500,
.register-success-message {
    color: var(--success-color) !important;
}

/* Error messages */
.text-red-500,
.login-error-message {
    color: #dc2626 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 16px !important;
        line-height: 18px !important;
    }
    
    h1, .text-5xl, .text-6xl {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
}

