/* custom-bootstrap.css */

/* Color Variables */
:root {
    --color-primary: #29c3a9;
    --color-highlight: #208f68;
    --color-background: #f8f9fa;
    --color-text-primary: #343a40;
    --color-text-secondary: #6c757d;
    --color-background-blue: #7a9ec4;
    --color-background-accent: #b0c4de;
}

/* Update the standard bg-color like bg-primary */
.bg-primary {
    background-color: var(--color-highlight) !important;
}

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

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

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

/* Body and Background */
body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

/* Navbar Customizations */
.navbar {
    background-color: var(--color-background) !important;
}

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

/* Button Styles */
.btn-primary {
    background-color: var(--color-highlight);
    border-color: var(--color-highlight);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #22a491;
    border-color: #22a491;
}

/* Button Secondary Styles */
.btn-secondary {
    background-color: var(--color-text-secondary);
    border-color: var(--color-text-secondary);
    color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #5a6a76; /* Slightly darker for hover effect */
    border-color: #5a6a76;
}

/* Text and Heading Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
}

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

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

/* Card Styles */
.card {
    border-color: var(--color-background-accent);
}

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

.card-body {
    background-color: var(--color-background-accent);
}

/* Custom Link Styles */
a {
    color: var(--color-highlight);
}

a:hover,
a:focus {
    color: #22a491;
}

/* Alerts */
.alert-primary {
    background-color: var(--color-background-blue);
    color: var(--color-text-primary);
    border-color: var(--color-background-blue);
}

.alert-secondary {
    background-color: var(--color-background-accent);
    color: var(--color-text-secondary);
    border-color: var(--color-background-accent);
}

/* Footer Styling */
footer {
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    padding: 1rem;
    text-align: center;
}


/* Icon Styling */
.icon-primary {
    color: var(--color-highlight); /* Uses the primary color #29c3a9 */
}

.icon-secondary {
    color: var(--color-text-secondary); /* Uses the secondary color #6c757d */
}


/* Link Styling */
.link-primary {
    color: var(--color-highlight)
}

.link-secondary {
    color: var(--color-highlight)
}

.toast.toast-success {
    background-color: var(--color-primary) !important; /* Using a custom property */
    color: #fff; /* Optional: adjust text color for contrast */
}

.bg-success {
    background-color: var(--color-primary) !important;
    color: #fff; /* Optional: ensure text is readable */
}

.bg-error {
    background-color: var(--bs-danger) !important;
    color: #fff; /* Optional: ensure text is readable */
}