/* 
// File: BeamsReports\Content\site.css
// ----------------------------------------------------------------------
/// \file site.css
/// \author Colin Manning
/// \date 2025-05-25
/// \copyright Red Ochre Pty Ltd 
*/

/* Reset and base styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header styles */
.header-container {
    text-align: center;
    padding: 20px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.header-content {
    display: inline-block;
}

.header-logo {
    height: 60px;
    vertical-align: middle;
}

.header-title {
    display: inline-block;
    margin: 0 0 0 15px;
    vertical-align: middle;
    color: #333;
    font-weight: 500;
}

/* Main content area with sidebar */
.main-content-area {
    display: flex;
    flex: 1;
}

/* Sidebar styles - Desktop */
.sidebar {
    width: 250px;
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    flex-shrink: 0;
    height: calc(100vh - 82px);
    position: sticky;
    top: 82px;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s;
}

    .nav-link:hover,
    .nav-link.active {
        color: white;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-link i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }

/* Content wrapper */
.content-wrapper {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 82px);
}

/* Login container */
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Password toggle specific styles */
.input-group.has-password-toggle {
    position: relative;
}

    .input-group.has-password-toggle .form-control {
        padding-right: 45px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .input-group.has-password-toggle .btn {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 40px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: 1px solid #ced4da;
        background-color: transparent;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .input-group.has-password-toggle .btn:hover {
            background-color: #e9ecef;
        }

        .input-group.has-password-toggle .btn:focus {
            box-shadow: none;
            outline: none;
        }

/* Form controls */
.form-control {
    height: calc(3.5rem + 2px);
    padding: 0.75rem 1rem;
}

.btn-block {
    width: 100%;
}

/* Reports container */
.reports-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Report Options Styles */
.report-options-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.checkbox-options {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-label {
    margin-left: 10px;
    font-weight: normal;
}

.download-buttons {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-lg {
    padding: 10px 25px;
    font-size: 1.1rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .main-content-area {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        order: -1;
        display: none;
    }

        .sidebar.active {
            display: block;
        }

    .sidebar-toggle {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1100;
    }

    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .sidebar-toggle {
        display: none;
    }
}

/* Utility classes */
.text-danger {
    color: #dc3545;
}

.text-muted {
    color: #6c757d;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.d-grid {
    display: grid;
}
