/* SPINE Members Area Custom Styles */

/* Light Grey Background Theme */
body {
    background: linear-gradient(135deg, #e8eaed 0%, #f5f6fa 25%, #e8eaed 50%, #f5f6fa 75%, #e8eaed 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #2c3e50;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Light theme card adjustments */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: #2c3e50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: rgba(248, 249, 250, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

/* Form controls light theme */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #2c3e50;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 1);
    border-color: #3498db;
    color: #2c3e50;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.form-control::placeholder {
    color: rgba(44, 62, 80, 0.6);
}

/* Knowledge Base Article Styles */
.knowledge-article {
    line-height: 1.6;
    color: #2c3e50;
}

.knowledge-article h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.knowledge-article h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.knowledge-article h3 {
    color: #7f8c8d;
    margin-top: 25px;
    margin-bottom: 12px;
}

.knowledge-article p {
    margin-bottom: 15px;
}

.knowledge-article ul, .knowledge-article ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.knowledge-article li {
    margin-bottom: 8px;
}

.knowledge-article code {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #e74c3c;
}

.knowledge-article pre {
    background-color: rgba(44, 62, 80, 0.05);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
    overflow-x: auto;
}

.knowledge-article pre code {
    background-color: transparent;
    padding: 0;
    color: #2c3e50;
}

.knowledge-article blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #7f8c8d;
}

.knowledge-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.knowledge-article th, .knowledge-article td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.knowledge-article th {
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: bold;
}

/* Table light theme */
.table {
    color: #2c3e50;
    --bs-table-bg: transparent;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: rgba(0, 0, 0, 0.05);
}

.table th {
    color: #495057;
    border-color: rgba(0, 0, 0, 0.1);
}

.table td {
    border-color: rgba(0, 0, 0, 0.1);
}

/* List group light theme */
.list-group-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.list-group-item:hover {
    background-color: rgba(255, 255, 255, 1);
}

.list-group-item.active {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Button adjustments */
.btn-outline-primary {
    color: #3498db;
    border-color: #3498db;
}

.btn-outline-primary:hover {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-outline-secondary {
    color: #95a5a6;
    border-color: #95a5a6;
}

.btn-outline-secondary:hover {
    background-color: #95a5a6;
    border-color: #95a5a6;
}

/* Alert adjustments */
.alert-success {
    background-color: rgba(39, 174, 96, 0.2);
    border-color: rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.3);
    color: #f39c12;
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

/* Modal light theme */
.modal-content {
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Text muted adjustment */
.text-muted {
    color: #6c757d !important;
}

/* Navbar light theme enhancement */
.navbar-dark {
    background-color: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}



.badge {
    font-size: 0.75em;
}


.btn-group-sm > .btn {
    font-size: 0.775rem;
}

.alert {
    border: none;
    border-radius: 8px;
}


.navbar-dark .navbar-text {
    color: rgba(255,255,255,.9);
}

/* Ticket status styling */
.badge.fs-6 {
    font-size: 0.9rem !important;
    padding: 0.5em 0.75em;
}

/* Comment cards */
.card .card .card-body {
    padding: 1rem;
}

/* Profile page styling */
.form-text {
    font-size: 0.825rem;
    color: #6c757d;
}

/* Dashboard cards */
.bg-primary .btn-light {
    color: #0d6efd;
}

.bg-success .btn-light {
    color: #198754;
}

.bg-warning .btn-dark {
    color: #000;
}

/* Responsive table */
.table-responsive {
    border-radius: 8px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom spacing */
.mt-6 {
    margin-top: 3.5rem;
}

.mb-6 {
    margin-bottom: 3.5rem;
}

