html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom styles for Federal Life Agent Connect */

/* Top line styling */
.top-line {
    height: 5px;
    background-color: #1a4f9c;
}

/* Page header styling */
.page-head {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

/* Tag line and navigation styling */
.tag-line {
    background-color: #f8f9fa;
    padding: 10px 0;
}

/* Navigation styling */
.topnav {
    overflow: hidden;
    background-color: #1a4f9c;
}

.topnav a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #cc0000;
    color: white;
}

.topnav .icon {
    display: none;
}

/* Footer styling */
.footer {
    background-color: #1a4f9c;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.bottom-line {
    background-color: #0d2b5e;
    color: white;
    padding: 10px 0;
}

/* Card styling */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-title {
    color: #1a4f9c;
    font-weight: bold;
}

/* List group styling */
.list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
}

.list-group-item a {
    color: #1a4f9c;
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }
    
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }
    
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* Menu page specific styles */
.menu-list {
    list-style-type: disc !important;
    padding-left: 50px !important;
    line-height: 100% !important;
    color: black !important;
}

.menu-list li {
    margin-bottom: 8px;
}

.transparent-content {
    padding: 20px;
}

.transparent-content a {
    text-decoration: underline;
}

.transparent-content a:hover {
    opacity: 0.8;
}

/* _login partial styles */
.nav-link {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    .nav-link:hover {
        color: #0056b3 !important;
    }

.btn-link {
    padding: 0;
    margin-left: 4px;
    font-size: 0.9em;
    color: #6c757d !important;
}

    .btn-link:hover {
        color: #0056b3 !important;
        text-decoration: none;
    }

.nav-item {
    font-size: 0.95em;
}

.company-logo {
    height: 60px; 
    width: auto; /* maintains aspect ratio */
    object-fit: contain; /* ensures the image fits within the dimensions */
}

@media (max-width: 768px) {
    .company-logo {
        height: 40px; /* smaller on mobile */
    }
}

/* Commission page styles */
.fican-group {
    margin-bottom: 2rem;
}

.fican-header {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.fican-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* DataTables customization */
.commission-table {
    width: 100% !important;
}

.commission-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.commission-table td {
    vertical-align: middle;
}

.commission-table a {
    text-decoration: none;
}

.commission-table a:hover {
    text-decoration: underline;
}