﻿/*New Section for Mobile Areas*/
.login-container {
    max-width: 400px; /* Center the form and limit its width */
    margin: 50px auto; /* Center the container vertically and horizontally */
    padding: 20px; /* Add space inside the container */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-container {
    width: 100%;
    max-width: 1800px; /* or 1200px, adjust as needed */
    margin: 0 auto;
    padding: 24px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    min-height: 90vh;
}

@media (max-width: 991.98px) {
    .main-container {
        max-width: 100%;
        padding: 16px 4px;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Responsive logo */
.login-header img,
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Card styling for sections */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-body {
    padding: 1.5rem;
}

/* Form controls */
.form-label {
    font-size: 1rem;
    font-weight: 500;
}

.form-control,
.input-group-text {
    font-size: 1rem;
    border-radius: 4px;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}

.input-group .form-control {
    min-width: 0;
}

/* Dashboard list */
.list-group-item {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

    .list-group-item:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .list-group-item:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

/* Footer text */
.footer-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

/* Utility for hand cursor on clickable images */
.Hand, .hand, .pointer, .input-group-text {
    cursor: pointer !important;
}

/* Make sure all form elements fill width on mobile */
.form-control, .input-group, .input-group-text {
    width: 100%;
    box-sizing: border-box;
}

/* Remove default table spacing for dashboard tables if used */
.AdventureResTable {
    width: 100% !important;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    font-size: 1rem;
}

/* Hide scrollbars for dashboard on mobile, but allow scrolling if needed */
#MainDashboard {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Style for boldblue class if not already defined */
.boldblue {
    color: #007bff !important;
    font-weight: bold;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.mobile-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.form-container h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.login-button {
    width: 100%; /* Full width */
    padding: 10px; /* Padding for better spacing */
    font-size: 16px; /* Font size */
    color: #fff; /* White text color */
    background-color: forestgreen; /* Default background color */
    border: none; /* Remove border */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Hand cursor on hover */
    transition: transform 0.2s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
}

    .login-button:hover {
        background-color: #1A661A; /* Darker blue on hover */
        transform: scale(1.02); /* Slightly enlarge the button on hover */
    }

    .login-button:active {
        transform: scale(1); /* Reset size when clicked */
    }

    .login-button.disabled {
        background-color: #ccc; /* Greyed out color */
        cursor: not-allowed; /* Not allowed cursor */
    }

.submit-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #46a2da; /* Original color */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effects */
}

    .submit-button.disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    .submit-button:hover {
        background-color: #3271a5; /* Hover color */
        cursor: pointer; /* Ensures hand cursor on hover */
        transform: scale(1.02); /* Slightly enlarge the button on hover */
    }

.return-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

.logo-date-header {
    justify-content: flex-start;
}

.logo-small {
    max-width: 180px;
    height: auto;
}

.logo-img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    width: auto;
    display: inline-block;
}

.date-text {
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .logo-date-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .logo-small {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .date-text {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .logo-small {
        max-width: 120px;
    }

    .date-text {
        font-size: 0.95rem;
    }
}

/*.nav-tabs .nav-link {
    padding: 0.15rem 0.5rem;
    font-size: 0.80rem;
    line-height: 1.1;
    min-height: 24px;
    height: 24px;
}

.nav-tabs {
    margin-bottom: 0.5rem;
}*/

/* Compact, classic tab style for tablist3 */
#tablist3.nav-tabs {
    border-bottom: 1px solid #b0b0b0;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    padding-left: 2px;
    padding-right: 2px;
}

#tablist3 .nav-link {
    padding: 2px 12px;
    font-size: 0.85rem;
    line-height: 1.1;
    min-height: 22px;
    height: 22px;
    color: #1a1a1a;
    background: #e9ecef;
    border: 1px solid #b0b0b0;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: 2px;
    transition: background 0.15s, color 0.15s;
}

    #tablist3 .nav-link:hover,
    #tablist3 .nav-link:focus {
        background: #d6d8db;
        color: #0056b3;
        text-decoration: none;
    }

    #tablist3 .nav-link.active,
    #tablist3 .nav-link:not(.inActiveTab) {
        background: #007bff; /* Bootstrap primary blue */
        color: #fff !important; /* White text */
        border-bottom: 1px solid #007bff;
        font-weight: bold;
        z-index: 2;
        transition: background 0.15s, color 0.15s;
    }

    #tablist3 .nav-link.inActiveTab {
        opacity: 0.8;
        font-weight: normal;
    }

.container {
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

@media (max-width: 991.98px) {
    .container {
        margin-left: 4px !important;
        margin-right: 4px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

.current-view-card {
    padding: 0.5rem !important; /* Adjust this value as needed */
    margin-top: 0.5rem !important; /* or adjust as needed */
    margin-bottom: 0.5rem !important; /* or adjust as needed */
}

    .current-view-card .card-body {
        padding-top: 0.25rem !important;
        padding-bottom: 0.0rem !important;
        /* Optionally, reduce left/right as well: */
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

.search-input {
    width: 110px !important; /* Adjust width as needed */
    min-width: 0 !important;
    max-width: 140px;
    display: inline-block;
    font-size: 0.92rem;
    height: 22px;
    padding: 2px 6px;
    margin-left: 4px;
    margin-right: 4px;
    vertical-align: middle;
}
