﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Addd by me */
/* General Styles */
body {
    font-family: Arial, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
}

.gradient-wrapper {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    min-height: 100vh; /* Ensure it covers the full viewport height */
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.8);
}

.navbar-brand {
    font-weight: bold;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: #fff !important;
}

    .navbar-nav .nav-link:hover {
        text-decoration: underline;
    }

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

    footer a {
        color: #fff;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }
/* Footer Section Alignment */
.footer-section {
    margin-top: 45px; /* Move the sections slightly down */
    padding-left: 50px; /* Move the sections slightly to the right */
}

/* Registration Page Styles */
.registration-container {
    max-width: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 30px;
    color: #333;
}

    .registration-container h3 {
        color: #007bff;
        margin-bottom: 20px;
    }

.form-control {
    border-radius: 10px;
}
.btn {
    border-radius: 5px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #004085;
    }

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

    .btn-warning:hover {
        background-color: #e0a800;
        border-color: #d39e00;
    }

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

    .btn-danger:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

.text-danger {
    font-size: 0.9rem;
}

.alert-info {
    border-radius: 10px;
}

#formFields {
    display: none; /* Initially hide the form fields and password section */
}
/* Close Button Styles */
#emailVerificationPrompt {
    position: relative; /* Set the parent container to relative positioning */
}

    #emailVerificationPrompt .btn-close {
        position: absolute; /* Position the button absolutely within the parent */
        top: 0.2rem; /* Move closer to the top */
        right: -0.1rem; /* Move closer to the right */
        background: none;
        border: none;
        font-size: 1.2rem; /* Keep the font size */
        color: #000;
        cursor: pointer;
        padding: 0.2rem; /* Adjust padding for better alignment */
        line-height: 1;
        width: 1.5rem;
        height: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #emailVerificationPrompt .btn-close:hover {
            color: #ff0000; /* Change color on hover */
        }
/* Custom Navbar Styles */
.custom-navbar {
    background-color: #004085; /* Dark blue background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 10px 0; /* Add vertical padding */
}

    .custom-navbar .navbar-brand img {
        max-height: 50px; /* Restrict logo height */
    }

    .custom-navbar .navbar-nav .nav-link {
        color: #ffffff; /* White text for links */
        font-weight: 500;
        margin-right: 15px;
        transition: color 0.3s ease;
    }

        .custom-navbar .navbar-nav .nav-link:hover {
            color: #ffc107; /* Gold color on hover */
        }

    .custom-navbar .navbar-toggler {
        border-color: #ffffff; /* White border for the toggle button */
    }

    .custom-navbar .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%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .custom-navbar .navbar-collapse {
        justify-content: flex-end; /* Align menu items to the right */
    }
/* Updated Registration Page Header Styles */
.registration-header {
    background: linear-gradient(to right, #4e54c8, #8f94fb); /* Modern gradient background */
    color: #ffffff; /* White text for contrast */
    padding: 50px 20px; /* Increased vertical padding for better spacing */
    text-align: center; /* Center-align text */
    border-radius: 15px; /* Softer rounded corners */
    margin-bottom: 40px; /* Increased space below the header */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow for depth */
}

    .registration-header .header-title {
        font-size: 3rem; /* Larger title font size */
        font-weight: 700; /* Bolder text for emphasis */
        margin-bottom: 15px; /* Space below the title */
        text-transform: uppercase; /* Make the title uppercase for impact */
        letter-spacing: 1px; /* Add letter spacing for a modern look */
    }

    .registration-header .header-description {
        font-size: 1.3rem; /* Slightly larger font size for description */
        font-weight: 400; /* Normal weight for readability */
        margin: 0; /* Remove default margins */
        line-height: 1.6; /* Improve line spacing for readability */
        color: #e0e0e0; /* Softer white for the description */
    }

/* Dashboard Page Styles */
.dashboard-page {
    background-color: #f9f9f9;
    padding: 30px 0;
}

.dashboard-header {
    background: linear-gradient(to right, #4e54c8, #8f94fb); /* Gradient background */
    color: #fff; /* White text */
    padding: 30px; /* Spacing around the content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center-align text */
}

    .dashboard-header .header-title {
        font-size: 2.5rem; /* Larger font size for the title */
        font-weight: bold; /* Bold text */
        margin-bottom: 10px; /* Space below the title */
        letter-spacing: 1px; /* Add spacing between letters */
    }

    .dashboard-header .header-description {
        font-size: 1.2rem; /* Slightly larger font size for the description */
        font-weight: 300; /* Light text */
        margin: 0; /* Remove default margins */
    }

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(to right, #4e54c8, #8f94fb); /* Gradient background */
    color: #fff; /* White text */
    text-align: center; /* Center-align text */
    font-weight: bold; /* Bold text */
    padding: 15px; /* Add padding */
    border-radius: 5px 5px 0 0; /* Rounded corners for the top */
}


.card-body {
    padding: 20px; /* Add padding inside the card */
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}

.table thead.table-light th {
    background-color: #f8f9fa; /* Light gray for better contrast */
    color: #333; /* Dark text for visibility */
    text-align: center;
}
.table thead.table-dark th {
    background-color: #343a40;
    color: #fff;
    text-align: center;
}

.table tbody td {
    text-align: center;
    vertical-align: middle;
    color: #333; /* Dark text for better readability */
}

.card-header-custom {
    background: linear-gradient(to right, #4e54c8, #8f94fb); /* Gradient background */
    color: #fff; /* White text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center-align text */
    font-weight: bold; /* Bold text */
    letter-spacing: 1px; /* Add spacing between letters */
}
.profile-hover-dropdown {
    position: relative;
}

    .profile-hover-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 10px) scale(0.98);
        transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1), visibility 0.25s;
        left: 50% !important;
        right: auto !important;
        min-width: 180px;
        margin-top: 0.5rem;
        top: 100%;
        z-index: 1061;
    }

    .profile-hover-dropdown.show .dropdown-menu,
    .profile-hover-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }

    .profile-hover-dropdown .dropdown-toggle::after {
        display: none;
    }

.profile-hover-dropdown {
    position: relative;
}

    .profile-hover-dropdown .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 10px) scale(0.98);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1), visibility 0.25s;
        margin-top: 0.5rem;
        top: 100%;
        z-index: 1061;
    }

    .profile-hover-dropdown.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }

    .profile-hover-dropdown .dropdown-toggle::after {
        display: none;
    }


