﻿/* Responsive font size */
html {
    font-size: 14px;
    min-height: 100%;
    position: relative;
}

* {
    font-family: 'Segoe UI', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Define CSS variables for brand-specific colors */
:root {
    --primary-color: #12374e; /* Default primary color */
    --secondary-color: #1d4061; /* Default secondary color */
    --text-color: #333333; /* Default text color */
    --background-color: #f4f4f4; /* Default background color */
    --button-hover-color: #165979; /* Default button hover color */
    --Logo-Padding-Bottom: 0px;
    --Logo-Margin-Left: 0px;
    --button-filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(372%) hue-rotate(153deg) brightness(95%) contrast(97%);
}

/* MCXESS Style*/
.brand-1 {
    --primary-color: #12374e; /* Blue */
    --secondary-color: #1d4061; /* Darker blue */
    --text-color: #333333; /* Dark gray */
    --background-color: #f4f4f4; /* Light gray */
    --button-hover-color: #165979; /* Hover color */
    --Logo-Height: 200px;
    --Logo-Padding-Bottom: 0px;
    --Logo-Margin-Left: 0px;
    --button-filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(372%) hue-rotate(153deg) brightness(95%) contrast(97%);
}

/* TelecomTag Style*/
.brand-2 {
    --primary-color: #cc4645; /* Red */
    --secondary-color: #b23a39; /* Complementary darker red */
    --text-color: #333333; /* Dark gray */
    --background-color: #f4f4f4; /* Light gray */
    --button-hover-color: #d9534f; /* Slightly brighter red for hover */
    --Logo-Height: 100px;
    --Logo-Padding-Bottom: 0px;
    --Logo-Margin-Left: 0px;
    --button-filter: brightness(110%);
}

/* MCIN Style*/
.brand-3 {
    --primary-color: #12374e; /* Blue */
    --secondary-color: #1d4061; /* Darker blue */
    --text-color: #333333; /* Dark gray */
    --background-color: #f4f4f4; /* Light gray */
    --button-hover-color: #165979; /* Hover color */
    --Logo-Height: 120px;
    --Logo-Padding-Bottom: 20px;
    --Logo-Margin-Left: 7%;
    --button-filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(372%) hue-rotate(153deg) brightness(95%) contrast(97%);
}

.d-none {
    display: none;
}

.logout-link {
    text-decoration: none;
}

/* General Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Transparent Navbar Styling */
.transparent-navbar {
    background-color: transparent !important;
    border-bottom: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin-bottom: -100px;
    position: relative;
}

    .transparent-navbar .navbar-brand {
        margin-top: 4rem;
        display: flex;
        justify-content: center;
        width: 100%;
        order: 2;
    }

        .transparent-navbar .navbar-brand img {
            height: var(--Logo-Height);
            width: auto;
            padding-bottom: var(--Logo-Padding-Bottom);
            margin-left: var(--Logo-Margin-Left);
        }


/* Ensure only the logo image is clickable */
.navbar-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .navbar-logo-container a {
        text-decoration: none; /* Remove any link underline if present */
    }

/* Language Select and Logout Container Styling */
.language-container,
.logout-container {
    position: absolute;
    top: 10px;
    padding: 10px;
}

.language-container {
    left: 15px;
}

.logout-container {
    right: 15px;
}

.transparent-navbar .nav-link {
    color: var(--primary-color) !important;
    font-weight: bold;
    margin-left: 10px;
}

    .transparent-navbar .nav-link:hover {
        color: var(--button-hover-color);
    }

/* Wrapper for the select element */
.select-wrapper {
    position: relative;
    display: inline-block;
}

/* Custom arrow styling */
.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 9px;
    height: 9px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

/* Custom select styling */
.styled-select {
    color: var(--primary-color);
    background: none;
    font-size: 14px;
    padding-right: 30px;
    border: none;
    border-radius: 5px;
    outline: 4px solid transparent; /* pre-define outline size transparently */
    outline-offset: 4px;
    transition: outline-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .styled-select:focus {
        outline-color: lightblue; /* only transition outline color */
    }

    .styled-select:hover {
        cursor: pointer;
    }

/* Responsive adjustments */
@media (max-width: 576px) {
    .transparent-navbar {
        flex-direction: column;
        padding: 0;
        margin-top: 0;
    }

        .transparent-navbar .navbar-brand {
            margin-top: 2rem;
            order: 3;
        }

    .language-container {
        position: absolute;
        top: 10px;
        left: 15px;
        order: 1;
    }

    .logout-container {
        position: absolute;
        top: 10px;
        right: 15px;
        order: 2;
    }
}

@media (min-width: 577px) {
    .language-container,
    .logout-container {
        top: 10px;
        padding: 10px;
    }

    .transparent-navbar {
        justify-content: center;
        align-items: center;
    }
}


.form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between checkbox and label */
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 12px;
    }

    .form-group .login-subtitle {
        margin-left: 10px;
        margin-bottom: 0;
    }

    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="email"] {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        border: 1px solid #000;
        border-radius: 4px;
        box-sizing: border-box;
        font-size: 16px;
    }

    .form-group input[type="email2"] {
        width: 100%;
        padding: 10px;
        margin-top: 0px;
        margin-bottom: 6px;
        border: 0px solid #000;
        border-radius: 0;
        box-sizing: border-box;
        font-size: 16px;
        background-color: transparent;
    }

        .form-group input[type="email2"]:focus {
            outline: none;
            border: none;
        }

/* Divider Styling */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    text-align: center;
}

    .divider::before,
    .divider::after {
        content: '';
        flex-grow: 1;
        height: 1px;
        background: #ccc;
    }

    .divider::before {
        margin-right: 10px;
    }

    .divider::after {
        margin-left: 10px;
    }

    .divider span {
        position: relative;
        z-index: 1;
        background: var(--background-color);
        padding: 0 10px;
    }

/* Label Styling */
.form-control {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
    cursor: pointer;  Makes the label clickable 
    user-select: none;
    line-height: 18px;  Matches checkbox height for perfect alignment 
}

    .form-control:hover {
        color: #165979;  Darker hover effect for the label 
    }

/* Sticky Footer */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--background-color); /* adjust as needed */
    color: rgba(0, 0, 0, 0.4); /* adjust as needed */
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    text-align: start;
    padding: 5px 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .footer .container {
        width: 100%;
        margin: 0 20vw;
    }

    .footer .container a {
        color: #0d6efd;
        text-decoration: underline;
    }

        .footer .container a:hover {
            color: #165979;
        }

/* Optional: add bottom padding to body so content isn't hidden behind the footer */
body {
    padding-bottom: 60px; /* adjust this value to match the footer height */
}

/* Notification styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

p {
    color:black;
}

ul {
    padding-left: 20px;
    list-style-type: disc;
    color: black;
}

ul li {
    margin-bottom: 10px;
}

