/**
 * Custom Styles for ConnectAndSupport
 */

/* Remove Google Fonts import */
/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); */

:root {
    --primary-color: #ff6900; /* Warriors Orange */
    --secondary-color: #000000; /* Black */
    --text-color: #333333;
    --light-color: #f8f9fa;
    --accent-color: #6c757d;
    --main-font: "Arial", Helvetica, Verdana, sans-serif;
}

/* General Styles */
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Viewport height */
}

/* Ensure consistent font usage across elements */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--main-font);
    font-weight: 600; /* Use regular weight for headings */
    letter-spacing: normal; /* Reset letter spacing for headings */
}

/* Reset paragraph text styling */
p, li, td, th, input, textarea, select, button, .btn, .form-control {
    font-family: var(--main-font);
}

/* Remove Bebas Neue-specific adjustments */
.form-control, textarea, .dropdown-item {
    font-family: var(--main-font);
}

main {
    flex: 1 0 auto; /* This will make the main content area grow to fill available space */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #e05e00; /* Slightly darker orange for hover */
}

/* Header & Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--light-color) !important;
    margin-right: 2rem;
    font-family: var(--main-font);
    letter-spacing: normal;
}

.logo {
    max-height: 40px;
    width: auto;
    margin-right: 1rem;
}

.nav-link {
    color: var(--light-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-family: var(--main-font);
    letter-spacing: normal;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-color) !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 0, 0.25);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 105, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #e05e00; /* Slightly darker orange */
    border-color: #e05e00;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
}

/* Profile Page */
.profile-header {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dashboard Cards */
.dashboard-card {
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo {
        max-height: 40px;
    }
}

/* Accessibility Enhancements */
.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 0, 0.25);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* Footer Styles */
footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    background-color: var(--secondary-color);
    color: var(--light-color);
    margin-top: auto; /* Push to the bottom if content is short */
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navbar Brand Styles */
.navbar-brand span {
    font-size: 1rem;
    line-height: 1.2;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-bottom: 3px solid var(--primary-color);
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Alert Styles */
.alert-primary {
    background-color: var(--primary-color);
    border-color: #e05e00;
    color: white;
}

.alert-info {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Link Styles */
.text-primary, .text-primary:hover {
    color: var(--primary-color) !important;
}

a.text-primary:hover {
    color: #e05e00 !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
}

/* Profile page styles */
.form-check-input:checked {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
}

.form-switch .form-check-input:focus {
    border-color: rgba(255, 107, 53, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.form-check-label {
    font-weight: 500;
}

.card-header.bg-primary {
    background-color: #ff6b35 !important;
}

.btn {
    font-family: var(--main-font);
    letter-spacing: normal;
    text-transform: none;
}

.alert {
    font-family: var(--main-font);
    letter-spacing: normal;
}

.card-title, .card-header h3 {
    font-family: var(--main-font);
    letter-spacing: normal;
}

.list-group-item {
    font-family: var(--main-font);
    letter-spacing: normal;
}

/* Reset letter spacing for page titles and section headers */
h1, .h1 {
    letter-spacing: normal;
}

/* Reset dropdown menus */
.dropdown-menu {
    font-family: var(--main-font);
    letter-spacing: normal;
}

/* Reset table headers */
thead th {
    font-family: var(--main-font);
    letter-spacing: normal;
    text-transform: none;
}

/* Remove the readability class as it's no longer needed */
.readable-text {
    /* This class is no longer needed as we're using readable fonts throughout */
    font-family: var(--main-font);
    letter-spacing: normal;
    line-height: 1.6;
}

/* Reset specific content areas */
.card-body p:not(.bebas-text),
.alert p:not(.bebas-text),
.form-text,
.modal-body p:not(.bebas-text),
article p:not(.bebas-text) {
    font-family: var(--main-font);
    letter-spacing: normal;
}

/* Repurpose this class for elements that need emphasis */
.bebas-text {
    font-family: var(--main-font) !important;
    font-weight: 600 !important;
    letter-spacing: normal;
}

/* Reset table data */
tbody td {
    font-family: var(--main-font);
    letter-spacing: normal;
}