/**
 * Insure Saathi - Custom Brand Colors
 * Primary: Teal/Blue #1B7A8E
 * Secondary: Orange #F7941D
 */

/* ============================================
   PRIMARY COLOR (TEAL/BLUE) - #1B7A8E
   ============================================ */

/* Text Colors */
.text-primary {
    color: #1B7A8E !important;
  }
  
  /* Background Colors */
  .bg-primary {
    background-color: #1B7A8E !important;
  }
  
  a.bg-primary:hover,
  a.bg-primary:focus {
    background-color: #156270 !important;
  }
  
  .btn-primary {
    background-color: #1B7A8E;
    border-color: #1B7A8E;
  }
  
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active {
    background-color: #156270 !important;
    border-color: #156270 !important;
  }
  
  /* Label Backgrounds */
  .bg-label-primary {
    background-color: rgba(27, 122, 142, 0.12) !important;
    color: #1B7A8E !important;
  }
  
  /* Borders */
  .border-primary {
    border-color: #1B7A8E !important;
  }
  
  .border-label-primary {
    border-color: rgba(27, 122, 142, 0.12) !important;
  }
  
  /* Badges */
  .badge-primary {
    background-color: #1B7A8E;
    color: #fff;
  }
  
  /* Alerts */
  .alert-primary {
    background-color: rgba(27, 122, 142, 0.12);
    border-color: rgba(27, 122, 142, 0.12);
    color: #1B7A8E;
  }
  
  /* List Groups */
  .list-group-item-primary {
    background-color: rgba(27, 122, 142, 0.12);
    color: #1B7A8E !important;
  }
  
  a.list-group-item-primary:hover,
  a.list-group-item-primary:focus {
    background-color: rgba(27, 122, 142, 0.2);
    color: #1B7A8E;
  }
  
  /* Avatar */
  .avatar-initial.bg-label-primary {
    background-color: rgba(27, 122, 142, 0.12) !important;
    color: #1B7A8E !important;
  }
  
  /* Active Menu Items */
  .layout-wrapper:not(.layout-horizontal) .bg-menu-theme .menu-inner > .menu-item.active:before {
    background-color: #1B7A8E;
  }
  
  .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background-color: rgba(27, 122, 142, 0.12) !important;
    color: #1B7A8E !important;
  }
  
  /* Form Controls Focus */
  .form-control:focus {
    border-color: #1B7A8E;
    box-shadow: 0 0 0 0.2rem rgba(27, 122, 142, 0.25);
  }
  
  .form-check-input:checked {
    background-color: #1B7A8E;
    border-color: #1B7A8E;
  }
  
  /* Links */
  a {
    color: #1B7A8E;
  }
  
  a:hover {
    color: #156270;
  }
  
  /* ============================================
     SECONDARY COLOR (ORANGE) - #F7941D
     ============================================ */
  
  /* Text Colors */
  .text-secondary {
    color: #F7941D !important;
  }
  
  /* Background Colors */
  .bg-secondary {
    background-color: #F7941D !important;
  }
  
  a.bg-secondary:hover,
  a.bg-secondary:focus {
    background-color: #E68310 !important;
  }
  
  .btn-secondary {
    background-color: #F7941D;
    border-color: #F7941D;
  }
  
  .btn-secondary:hover,
  .btn-secondary:focus,
  .btn-secondary:active {
    background-color: #E68310 !important;
    border-color: #E68310 !important;
  }
  
  /* Label Backgrounds */
  .bg-label-secondary {
    background-color: rgba(247, 148, 29, 0.12) !important;
    color: #F7941D !important;
  }
  
  /* Borders */
  .border-secondary {
    border-color: #F7941D !important;
  }
  
  /* Badges */
  .badge-secondary {
    background-color: #F7941D;
    color: #fff;
  }
  
  /* Alerts */
  .alert-secondary {
    background-color: rgba(247, 148, 29, 0.12);
    border-color: rgba(247, 148, 29, 0.12);
    color: #F7941D;
  }
  
  /* Avatar */
  .avatar-initial.bg-label-secondary {
    background-color: rgba(247, 148, 29, 0.12) !important;
    color: #F7941D !important;
  }
  
  /* ============================================
     SUCCESS COLOR (GREEN)
     ============================================ */
  
  .text-success {
    color: #28a745 !important;
  }
  
  .bg-success {
    background-color: #28a745 !important;
  }
  
  .btn-success {
    background-color: #28a745;
    border-color: #28a745;
  }
  
  .bg-label-success {
    background-color: rgba(40, 167, 69, 0.12) !important;
    color: #28a745 !important;
  }
  
  .badge-success {
    background-color: #28a745;
    color: #fff;
  }
  
  .avatar-initial.bg-label-success {
    background-color: rgba(40, 167, 69, 0.12) !important;
    color: #28a745 !important;
  }
  
  /* ============================================
     WARNING COLOR (YELLOW)
     ============================================ */
  
  .text-warning {
    color: #ffc107 !important;
  }
  
  .bg-warning {
    background-color: #ffc107 !important;
  }
  
  .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
  }
  
  .bg-label-warning {
    background-color: rgba(255, 193, 7, 0.12) !important;
    color: #ffc107 !important;
  }
  
  .badge-warning {
    background-color: #ffc107;
    color: #212529;
  }
  
  .avatar-initial.bg-label-warning {
    background-color: rgba(255, 193, 7, 0.12) !important;
    color: #ffc107 !important;
  }
  
  /* ============================================
     DANGER/ERROR COLOR (RED)
     ============================================ */
  
  .text-danger,
  .text-error {
    color: #dc3545 !important;
  }
  
  .bg-danger,
  .bg-error {
    background-color: #dc3545 !important;
  }
  
  .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
  }
  
  .bg-label-danger,
  .bg-label-error {
    background-color: rgba(220, 53, 69, 0.12) !important;
    color: #dc3545 !important;
  }
  
  .badge-danger,
  .badge-error {
    background-color: #dc3545;
    color: #fff;
  }
  
  .avatar-initial.bg-label-danger,
  .avatar-initial.bg-label-error {
    background-color: rgba(220, 53, 69, 0.12) !important;
    color: #dc3545 !important;
  }
  
  /* ============================================
     INFO COLOR (LIGHT BLUE)
     ============================================ */
  
  .text-info {
    color: #17a2b8 !important;
  }
  
  .bg-info {
    background-color: #17a2b8 !important;
  }
  
  .btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
  }
  
  .bg-label-info {
    background-color: rgba(23, 162, 184, 0.12) !important;
    color: #17a2b8 !important;
  }
  
  .badge-info {
    background-color: #17a2b8;
    color: #fff;
  }
  
  .avatar-initial.bg-label-info {
    background-color: rgba(23, 162, 184, 0.12) !important;
    color: #17a2b8 !important;
  }
  
  /* ============================================
     APP BRAND / LOGO
     ============================================ */
  
  .app-brand-text {
    color: #1B7A8E !important;
  }
  
  .app-brand-text span:last-child {
    color: #F7941D !important;
  }
  
  /* Sidebar brand colors */
  .bg-menu-theme .app-brand {
    background-color: #fff;
  }
  
  /* ============================================
     BUTTON VARIANTS
     ============================================ */
  
  .btn-outline-primary {
    color: #1B7A8E;
    border-color: #1B7A8E;
  }
  
  .btn-outline-primary:hover {
    background-color: #1B7A8E;
    border-color: #1B7A8E;
    color: #fff;
  }
  
  .btn-outline-secondary {
    color: #F7941D;
    border-color: #F7941D;
  }
  
  .btn-outline-secondary:hover {
    background-color: #F7941D;
    border-color: #F7941D;
    color: #fff;
  }
  
  /* ============================================
     CARD STYLING
     ============================================ */
  
  .card {
    border-color: rgba(27, 122, 142, 0.1);
  }
  
  .card-header {
    border-bottom-color: rgba(27, 122, 142, 0.1);
  }
  
  /* ============================================
     PROGRESSBAR
     ============================================ */
  
  .progress-bar {
    background-color: #1B7A8E;
  }
  
  .progress-bar.bg-secondary {
    background-color: #F7941D !important;
  }
  
  /* ============================================
     PAGINATION
     ============================================ */
  
  .page-link {
    color: #1B7A8E;
  }
  
  .page-link:hover {
    color: #156270;
    background-color: rgba(27, 122, 142, 0.12);
  }
  
  .page-item.active .page-link {
    background-color: #1B7A8E;
    border-color: #1B7A8E;
  }
  
  /* ============================================
     NAVBAR
     ============================================ */
  
  .navbar-primary {
    background-color: #1B7A8E !important;
  }
  
  /* ============================================
     DROPDOWN
     ============================================ */
  
  .dropdown-item.active,
  .dropdown-item:active {
    background-color: #1B7A8E;
  }
  
  /* ============================================
     UTILITIES
     ============================================ */
  
  .border-top-primary {
    border-top-color: #1B7A8E !important;
  }
  
  .border-bottom-primary {
    border-bottom-color: #1B7A8E !important;
  }
  
  .border-start-primary {
    border-left-color: #1B7A8E !important;
  }
  
  .border-end-primary {
    border-right-color: #1B7A8E !important;
  }