:root {
    --primary-color: #002B49;
    --secondary-color: #F7941D;
    --text-color: #333333;
    --link-color: #0066CC;
    --navbar-height: 56px;
    --sectors-height: 40px;
    --sidebar-bg: #F8F9FA;
    --sidebar-hover: #E9ECEF;
    --sidebar-active: #DEE2E6;
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Dashboard Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation */
.navbar {
    background-color: #F33600;
    padding: 0.5rem 1.5rem;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 24px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 6px 12px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-right .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-profile .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

/* Sectors Bar */
.sectors-bar {
    background-color: #F7941D;
    padding: 0.5rem 1.5rem;
    height: var(--sectors-height);
    display: flex;
    align-items: center;
}
.colBtn .btn {width:auto;}
.sectors-dropdown .btn {
    font-weight: 500;
    color: #000000;
    padding: 8px 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sectors-dropdown .btn:hover,
.sectors-dropdown .btn:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Main Layout */
.main-layout {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #f8f9fa;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - var(--navbar-height) - var(--sectors-height));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1000;
}

.nav-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-section-header {
    padding: 12px 16px;
    background-color: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.nav-section-header:hover {
    background-color: #e9ecef;
}

.nav-section-header.active {
    background-color: #e9ecef;
}

.nav-section-header i {
    transition: transform 0.3s ease;
}

.nav-section-content {
    display: none;
    background-color: #ffffff;
}

.nav-section-content.show {
    display: block;
}

.nav-section-content .nav-item {
    margin: 0;
    padding: 0;
}

.nav-section-content .nav-link {
    padding: 10px 32px;
    color: #212529;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-section-content .nav-link:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.nav-section-content .nav-link.active {
    background-color: #e9ecef;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--link-color);
    text-decoration: none;
}

.welcome-section {
    text-align: center;
    margin-top: 40px;
}

.welcome-section h1 {
    font-size: 24px;
    margin-bottom: 40px;
}

.cargo-illustration {
    background-color: #001529;
    border-radius: 4px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.cargo-text {
    color: #00A3E0;
    font-size: 3.5rem;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 8px;
}

.cargo-subtext {
    color: #00A3E0;
    opacity: 0.6;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1.2;
}

.ship-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    max-width: 800px;
}

/* Login Page Styles */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
}

.login-container {
    height: 100vh;
}

/* Left Section */
.left-section {
    background-color: #faf9f6;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px;
}

.brand-content {
    max-width: 520px;
}

.brand-content .logo {
    width: 200px;
    margin-bottom: 48px;
}

.brand-content h1 {
    color: #002B49;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 500;
}

.brand-content p {
    color: #002B49
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Right Section */
.right-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.logo-icon {
    width: 40px;
    margin-bottom: 16px;
}

.login-form-container h2 {
    color: #002B49;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #212529;
}

.required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.form-control::placeholder {
    color: #6c757d;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

.btn-primary {
    width: 100%;
    height: 48px;
    background-color: #F7941D;
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.btn-primary:hover {
    background-color: #e88a1a;
}

.forgot-password-container {
    margin-bottom: 24px;
}

.forgot-password {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
}

.signup-container p {
    margin-bottom: 16px;
    color: #212529;
}

.signup-link {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
}

.trouble-login {
    background-color: #FFF3E0;
    color: #664D03;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .left-section {
        display: none;
    }
    
    .right-section {
        padding: 20px;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        top: var(--navbar-height);
        height: calc(100vh - var(--navbar-height));
        transform: translateX(0);
    }

    .sidebar.active {
        transform: translateX(250px);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
} 

/* Update Sidebar Toggle Button styles */
.sidebar-toggle {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 8px;
}

.sidebar-toggle i {
    font-size: 20px;
}

.sidebar-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Update Sectors Bar to accommodate toggle */
.d-flex {
    display: flex;
    align-items: center;
}

.sectors-bar {
    height: var(--sectors-height);
    padding: 0 0.5rem;
}

/* Update sidebar styles for ul/li format */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-section {
    border-bottom: 1px solid #dee2e6;
}

.nav-section-content {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: #fff;
}

.nav-section-content.show {
    display: block;
}

.nav-section-content li {
    margin: 0;
    padding: 0;
}

.nav-section-content .nav-link {
    padding: 10px 32px;
    color: #212529;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-section-content .nav-link:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.nav-section-content .nav-link.active {
    background-color: #e9ecef;
}

/* Add these styles for the user profile dropdown */
.user-profile .dropdown-menu {
    margin-top: 8px;
    min-width: 200px;
    padding: 8px 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-profile .dropdown-item {
    padding: 8px 16px;
    color: #212529;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.user-profile .dropdown-item:hover {
    background-color: #f8f9fa;
}

.user-profile .dropdown-item i {
    width: 16px;
    margin-right: 8px;
    color: #6c757d;
}

.user-profile .dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

.user-profile .btn.dropdown-toggle::after {
    display: none;
}

.user-profile .btn.dropdown-toggle {
    background: transparent;
    border: none;
    padding: 8px 12px;
}

.user-profile .btn.dropdown-toggle:hover,
.user-profile .btn.dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}