﻿/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Paragraphs */
p {
    font-size: 1.125rem;
    color: #666;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-blue);
}

    a:hover {
        color: var(--primary-red);
    }

/* Navbar */
.navbar {
    background-color: #fff;
}

.navbar-brand img {
    width: 150px;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Buttons */
.btn {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

/* Footer */
footer {
    font-size: 0.875rem;
    color: #777;
    background-color: #f5f5f5;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .login-container h1 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .login-container .form-group {
        margin-bottom: 15px;
    }

    .login-container .form-control {
        border-radius: 0.25rem;
        font-size: 1rem;
    }

    .login-container .btn {
        width: 100%;
        background-color: var(--primary-blue);
        color: #fff;
    }

        .login-container .btn:hover {
            background-color: var(--primary-red);
            color: #fff;
        }

/* Dashboard Page Styles */
.card {
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-body {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-counter {
    font-size: 2rem;
    color: var(--primary-blue);
}

.data-grid {
    margin-top: 20px;
}

    .data-grid table {
        width: 100%;
        border-collapse: collapse;
    }

    .data-grid table, .data-grid th, .data-grid td {
        border: 1px solid #ddd;
    }

    .data-grid th, .data-grid td {
        padding: 8px;
        text-align: left;
    }

    .data-grid th {
        background-color: var(--primary-blue);
        color: #fff;
    }

    .data-grid tr:nth-child(even) {
        background-color: #f2f2f2;
    }

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-primary-red {
    color: var(--primary-red) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

.bg-primary-red {
    background-color: var(--primary-red) !important;
    color: #fff !important;
}

/* Variables (CSS Custom Properties) */
:root {
    --primary-blue: #007bff;
    --primary-red: #dc3545;
    --white: #ffffff;
}


.carousel-image {
    width: 300px; /* Set the desired width here */
    height: auto; /* Ensure the aspect ratio is maintained */
}

.logo {
    width: 250px; /* Set the desired width */
    height: auto; /* Automatically adjust height to maintain aspect ratio */
    
}

/* Style for the Previous and Next Control Buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 50px; /* Increase the width for better visibility */
    height: 50px; /* Increase the height for better visibility */
    border-radius: 50%; /* Make the controls circular */
    opacity: 1; /* Ensure controls are fully visible */
    top: 50%; /* Align vertically to the middle */
    transform: translateY(-50%); /* Adjust for exact centering */
}

/* Style for the Control Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);                 /* Invert the color to make icons black */
    width: 30px;                          /* Increase icon size */
    height: 30px;                         /* Increase icon size */
}

/* Hover Effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}
