/* custom.css */

body {
    /* Sora is defined via storage-backed @font-face rules in fonts.css */
    font-family: 'Sora', sans-serif;
}

.footer-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background-color:#005653;
    font-size: 10px;
}

body {
    padding-bottom: 56px; /* prevent content from hiding behind fixed footer */
}
a{
    text-decoration: none;
    color: #000;
}
.btn-dat{
	background-color: #005653;
}
.profile-icon{
	height: 30px;
}

.profile-myname{
	font-size: 10px;
}
.navbar-nav .nav-item {
    list-style: none;
}

.login-right {
    background-color: #005653;
}

.login-title {
    font-size: 20px;
    font-weight: bolder;
}

.login-subtitle {
    font-size: 1rem;
    color: #6c757d;
}
.text-appname{
	font-size: 10px;
    font-weight: bold;
}

.full-height {
    height: 100vh;
}
.form-control{
	border: 1px solid #000;
}

.badge.rounded-circle {
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
}

.dashboard-card {
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.dashboard-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #005653;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dashboard-card:hover {
    background-color: #005653;
    color: #ffffff;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
    transform: translateY(-4px) scale(1.03);
    position: relative;
    z-index: 2;
}

.dashboard-card:hover .dashboard-card-arrow {
    background-color: #ffffff;
    color: #005653;
}

.dashboard-card:hover .text-muted {
    color: #ffffff !important;
}

.incidents-table thead th {
    font-size: 0.75rem;
}

.incidents-table tbody td {
    font-size: 0.8rem;
}
.form-control{
    border-radius: 5px;
    font-size: 13px;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #abb0b6;  
}

/* SweetAlert-style modal */
.swal-modal {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.25);
}

.swal-modal-header {
    background-color: #005653;
    color: #ffffff;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.swal-modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.swal-modal .modal-body {
    font-size: 0.85rem;
    line-height: 1.4;
}
.active-incident{
background:#229E82;
color:white;
}

.btn-success{
    background-color: #229E82 !important;
    border-color: #229E82 !important;
}

.btn-success:hover{
    background-color: #1d8b72 !important;
    border-color: #1d8b72 !important;
}

.btn-success:focus,
.btn-success:active{
    background-color: #1d8b72 !important;
    border-color: #1d8b72 !important;
    box-shadow: none !important;
}
textarea{
    overflow:hidden;
    resize:none;
    min-height:80px;  
}

.font-small{
    font-size: 10px;
    color: #000;
}
.font-medium{
    font-size: 13px;
    color: #000;
}
.font-large{
    font-size: 15px;
    color: #000;
}
.font-placeholder{
    color: #7E7E7E;
}
.pdf-icon{
    height: 80px;
    width: 70px;
}
.doc-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.main-container {
    width: 795px;
    margin-left: auto;
    margin-right: auto;
}

.dstextarea + .ck-editor .ck-editor__editable {
    min-height: 200px;
}
.ck-content {
    border: 1px solid #000;
    padding: 20px;
    background: #fff;
}

h1 { font-size: 20px; font-weight: 600; }
h2 { font-size: 18px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
h4 { font-size: 15px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }

.ck-content table,
.ck-content th,
.ck-content td {
    border: 1px solid #000;
    border-collapse: collapse;
}

.ck-editor__editable,
.ck-content {
    font-family: Arial, sans-serif; /* or your project font */
    font-size: 14px !important;
    line-height: 1.6;
}

/* paragraphs */
.ck-editor__editable p,
.ck-content p {
    margin-bottom: 10px;
}

/* headings */
.ck-editor__editable h1,
.ck-content h1 {
    font-size: 20px;
    font-weight: bold;
}

.ck-editor__editable h2,
.ck-content h2 {
    font-size: 18px;
}



.fixed-ck-height {
    max-height: 600px;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: none;

    /* IE / Edge (old) */
    -ms-overflow-style: none;
}

/* Chrome, Safari, Edge */
.fixed-ck-height::-webkit-scrollbar {
    display: none;
}

.chat-float-btn {
    position: fixed;
    bottom: 40px;
    right: 2px;
    background: #198754;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    font-size: 20px;
    z-index: 9999;
}

.modal-dialog-end {
    position: fixed;
    right: 20px;
    bottom: 80px;
    margin: 0;
}

.chat-box {
    height: 500px;
    min-width: 500px;
    display: flex;
    flex-direction: column;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    background: #f1f1f1;
    padding: 10px;
}

.chat-footer {
    width: 100%;
    padding: 10px;
}

.chat-input {
    height: 45px;
    border-radius: 25px;
    padding-left: 15px;
}

.mention-dropdown {
    position: absolute;
    bottom: 50px;
    width: 100%;
    z-index: 1000;
    max-height: 150px;
    overflow-y: auto;
}

.chat-message {
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    max-width: 70%;
}

.chat-left {
    background: #fff;
}

.chat-right {
    background: #bff2dd;
    margin-left: auto;
}
.chat-input {
    height: 45px;
    border-radius: 25px;
    padding-left: 15px;
}
.mention {
    color: #0d6efd;
    background: rgba(13,110,253,0.1);
    padding: 2px 6px;
    border-radius: 6px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-name {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.chat-time {
    font-size: 11px;
    color: #4f5054;
}

.signature-block {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.signature-inner {
    text-align: start;
}

.signature-img {
    width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
}

.signature-line {
    border-top: 1px solid #000;
    width: 200px;
    margin-top: 1px;
}

.signature-name {
    font-size: 13px;
    font-weight: bold;
    margin-top: 4px;
}

.signature-ack {
    font-size: 13px;
    margin-top: 4px;
}

.card-letter-bg{
    background-color: #FFFEF5;
    border-radius: 10px;

}