/* Typography */
@font-face {
    font-family: 'DMSans semibold';
    src: url(../fonts/DMSans-SemiBold.ttf);
}

@font-face {
    font-family: 'Inter regular';
    src: url(../fonts/Inter_24pt-Regular.ttf);
}

@font-face {
    font-family: 'Inter medium';
    src: url(../fonts/Inter_18pt-Medium.ttf);
}

@font-face {
    font-family: 'DMSans Bold';
    src: url(../fonts/DMSans-Bold.ttf);
}


/* Background with image gradient */
html,body{
  height: 100%;
  font-family: 'Inter regular';
}

body {
  background: url("../image/bg.png") no-repeat center center fixed;
}

/* Navbar Custom Styles */
.navbar-custom {
  border-bottom:1px solid #c0c0c3;
  padding: 0.5rem 1rem;
}

.navbar-brand img {
  height: 50px;
}

.brand-text {
  line-height: 1.2;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: #666;
}

.status-indicator {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #4ade80; /* green */
  border-radius: 50%;
  margin-right: 6px;
}


/* Centered Content */
.main-content {
  margin-top: 20px;
}

.main-title {
  font-family: 'DMSans semibold';
  color: #1e40af;
  font-size: 42px;
}
.subtitle {
  font-family: 'Inter regular';
  color: #666666;
  margin-top: 8px;
  margin-bottom: 180px;
}

/* Suggestions Buttons */
.suggestions .btn,.logout-btn {
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  border: none;
  color: #2a2a2a;
  font-weight: 500;
  transition: all 0.2s ease;
}
.suggestions .btn:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
}

/* Query Box */
.query-box {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.query-box input {
  border-radius: 12px 0 0 12px;
  border: 1px solid #ddd;
  padding: 12px;
  width: 300px;
}

/* Gradient Button */

.query-box button,.logout-btn:hover {
  padding: 12px 25px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}
.query-box button:hover {
  background: linear-gradient(90deg, #15318b, #1d4ed8);
}
.suggestions .question{
  background: #c6d2f8;
}
#chatContainer {
    max-height: 70vh; 
    overflow-y: auto;

    /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
    scrollbar-width: thin; /* for Firefox */
    scrollbar-color: transparent transparent; /* Firefox */
}

#chatContainer::-webkit-scrollbar {
    width: 0px; /* Remove scrollbar space */
    background: transparent; /* Optional: just to be safe */
}

#chatContainer::-webkit-scrollbar-thumb {
    background: transparent; /* Invisible thumb */
}

/* Responsive */
@media (max-width: 576px) {
  .main-title {
    font-size: 1.5rem;
  }
  .query-box input {
    width: 200px;
  }
  .main-content{
    margin-top: 10px;
  }
  .fs-6,.fs-5,p{
    zoom:90%;
  }
}



{{-- public/css/master-data-modal.css --}}

/* View Modal Styling */
.view-section {
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.view-section:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.view-section-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    color: #2d3748;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.view-section-header i {
    margin-right: 10px;
    font-size: 1.1rem;
    color: #4a90d9;
    width: 20px;
    text-align: center;
}

.view-section-body {
    padding: 20px;
    background: #ffffff;
}

.view-row {
    display: flex;
    margin-bottom: 12px;
    border-bottom: 1px dashed #f0f0f0;
    padding-bottom: 10px;
    align-items: flex-start;
}

.view-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.view-label {
    flex: 0 0 35%;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
    padding-right: 15px;
    min-width: 150px;
}

.view-label i {
    margin-right: 8px;
    color: #718096;
    font-size: 0.85rem;
    width: 16px;
}

.view-value {
    flex: 0 0 65%;
    color: #1a202c;
    font-size: 0.95rem;
    word-wrap: break-word;
    line-height: 1.6;
}

.view-value strong {
    color: #2d3748;
    font-weight: 700;
}

/* Badge Styles */
.view-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.view-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.view-badge-primary {
    background: linear-gradient(135deg, #e7f1ff, #cfe2ff);
    color: #0d6efd;
    border: 1px solid #b6d4fe;
}

.view-badge-success {
    background: linear-gradient(135deg, #d1e7dd, #a3cfbb);
    color: #0f5132;
    border: 1px solid #badbcc;
}

.view-badge-warning {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.view-badge-info {
    background: linear-gradient(135deg, #cff4fc, #b6effb);
    color: #055160;
    border: 1px solid #9eeaf9;
}

.view-badge-secondary {
    background: linear-gradient(135deg, #e9ecef, #d3d8dd);
    color: #41464b;
    border: 1px solid #c4c9ce;
}

.view-badge-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #842029;
    border: 1px solid #f1aeb5;
}

.view-badge-dark {
    background: linear-gradient(135deg, #d3d3d3, #b0b0b0);
    color: #1a1a1a;
    border: 1px solid #999;
}

/* Chip Container */
.view-chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.view-chip {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.85rem;
    color: #2d3748;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.view-chip:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.view-chip i {
    margin-right: 6px;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .view-row {
        flex-direction: column;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .view-label {
        flex: 0 0 100%;
        min-width: 100%;
        margin-bottom: 4px;
        font-size: 0.85rem;
    }

    .view-value {
        flex: 0 0 100%;
        padding-left: 0;
        font-size: 0.9rem;
    }

    .view-section-header {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .view-section-body {
        padding: 15px;
    }

    .view-chip-container {
        gap: 5px;
    }

    .view-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .view-section {
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .view-section-header {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .view-section-body {
        padding: 12px;
    }

    .view-label {
        font-size: 0.8rem;
    }

    .view-value {
        font-size: 0.85rem;
    }

    .view-chip {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#viewMasterContent .view-section {
    animation: fadeInUp 0.4s ease forwards;
}

#viewMasterContent .view-section:nth-child(2) {
    animation-delay: 0.1s;
}

#viewMasterContent .view-section:nth-child(3) {
    animation-delay: 0.2s;
}

#viewMasterContent .view-section:nth-child(4) {
    animation-delay: 0.3s;
}

#viewMasterContent .view-section:nth-child(5) {
    animation-delay: 0.4s;
}

/* Modal Override */
.modal-lg {
    max-width: 800px;
}

.modal-dialog-scrollable .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

/* Custom scrollbar */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 10px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8aeb4;
}