html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background: #f1f1f1 !important;
}
div.dataTables_wrapper {
    width: 100% !important;
}
.main-login {
    background-image: url("../img/loginbg.jpg") !important;
    background-position: center;
    background-size: cover;
}
.id-img{
    max-height:20rem;
}

.swal2-container {
    z-index: 999999 !important;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

    .stepper::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 2;
}

.stepper-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dee2e6;
    color: #f05223;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stepper-item.active .stepper-icon {
    background-color: #0d6efd;
    color: white;
}

.stepper-item.completed .stepper-icon {
    background-color: #198754;
    color: white;
}

.stepper-title {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #f05223;
    transition: color 0.3s ease;
}

.stepper-item.active .stepper-title {
    color: #0d6efd;
}

.stepper-item.completed .stepper-title {
    color: #198754;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

    .step-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loan-card {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .loan-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.1);
    }

    .loan-card.selected {
        border-color: #0d6efd;
        background-color: rgba(13, 110, 253, 0.05);
    }

.btn-navigation {
    min-width: 120px;
}

.gradient-header {
    background: #323a40;
}

.priority-high {
    border-left: 4px solid #dc3545;
}

.priority-medium {
    border-left: 4px solid #ffc107;
}

.priority-low {
    border-left: 4px solid #28a745;
}

.info-value {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border-left: 3px solid #f05223;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #ee5123;
}

.message-content {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    border-left: 4px solid #ee5123;
    white-space: pre-wrap;
    line-height: 1.6;
}

.attachment-icon {
    color: #667eea;
    margin-right: 0.75rem;
}

.rich-editor {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.ql-toolbar {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    background-color: #f8f9fa;
}

.ql-container {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    min-height: 200px;
}

.btn-gradient {
    background: #323a40;
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: #f05223;
    color: white;
}