.navbar-custom {
    background-color: #047857;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    height: 60px;
}

.navbar-custom .container {
    height: 100%;
}

.navbar-custom .navbar-brand {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-custom .nav-link {
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-custom .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-custom .nav-link.active {
    color: white;
    font-weight: 600;
}

.navbar-custom .navbar-toggler {
    border: none;
    padding: 0.5rem;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-custom .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, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .navbar-collapse {
    height: 100%;
}

.navbar-custom .navbar-nav {
    height: 100%;
}

.navbar-custom .nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1050 !important;
    display: none;
    min-width: 200px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #1e293b;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: #10b981;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e2e8f0;
}

.btn-light {
    background-color: white;
    border: none;
    color: #059669;
    font-weight: 500;
    min-width: 200px;
    text-align: left;
    padding: 0.75rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-light:hover {
    background-color: #f8fafc;
    color: #047857;
}

.btn-outline-light {
    border: 1px solid white;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: #059669;
}

@media (max-width: 991.98px) {
    .navbar-custom {
        height: auto;
    }

    .navbar-custom .navbar-collapse {
        background-color: #065f46;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .navbar-custom .nav-link {
        padding: 0.75rem 1rem;
    }

    .navbar-custom .d-flex {
        margin-top: 1rem;
    }

    .btn-light,
    .btn-outline-light {
        width: 100%;
        margin: 0.25rem 0;
    }
}
