/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-link.nav-link:focus {
  outline: black auto 1px;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: scroll;
  white-space: nowrap;
  line-height: 60px;
}

/* Company cards */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.company-card {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Dashboard cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(rgba(15, 42, 68, 0.85), rgba(15, 42, 68, 0.85)), url('../img/card-img.avif') center/cover no-repeat;
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
}

.primary {
    background: #2563eb;
    color: #fff;
}

.warning {
    background: #f59e0b;
    color: #fff;
}

/* Status */
.status.Active {
    color: green;
}

.status.Locked {
    color: red;
}

/* Mobile */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .layout {
        flex-direction: column;
    }
}

/* Container */
.company-switcher {
    position: relative;
    display: inline-block;
}

/* Button */
.company-switcher__btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

    /* Chevron */
    .company-switcher__btn .chevron {
        font-size: 11px;
        opacity: 0.8;
    }

/* Dropdown menu */
.company-switcher__menu {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 6px 0;
}

/* Menu items */
.company-switcher__item {
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #111827;
    text-decoration: none;
    display: block;
}

    .company-switcher__item:hover {
        background: #f3f4f6;
    }

    /* Active company */
    .company-switcher__item.active {
        font-weight: 600;
        background: #e5e7eb;
    }

/* Divider */
.company-switcher__divider {
    height: 1px;
    background: #e5e7eb;
    margin: 6px 0;
}

/* Add company */
.company-switcher__item.add {
    color: #2563eb;
}

/* Show menu */
.company-switcher.open .company-switcher__menu {
    display: block;
}


/* Hero banner */
.hero {
    padding: 90px 0;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.25rem;
    }

/* Navbar */
.navbar-custom {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Card styling */
.company-card {
    border: none;
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s;
}

    .company-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

/* Button improvement */
.btn-manage {
    background: #495057;
    color: #fff;
    border-radius: 8px;
}

    .btn-manage:hover {
        background: #343a40;
    }

/* Sidebar */
.sidebar {
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .sidebar .nav-link {
        color: #495057;
        font-weight: 500;
        border-radius: 6px;
        padding: .6rem .75rem;
        margin-bottom: 4px;
    }

        .sidebar .nav-link:hover {
            background-color: #e9ecef;
        }

        .sidebar .nav-link.active {
            background-color: #495057;
            color: #fff;
        }

/* Mobile behavior */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        height: auto;
        margin-bottom: 1rem;
    }
}