/* ===== IT Helpdesk – Site Styles ===== */

body {
    background-color: #f4f6f9;
    font-size: 0.9rem;
}

/* Remove the default max-width restriction on form inputs */
input, select, textarea {
    max-width: 100%;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-logo-img {
    height: 36px;
    width: auto;
    background-color: #fff;
    border-radius: 4px;
    padding: 2px 6px;
}

/* Main content area */
.container-fluid.py-3 {
    min-height: calc(100vh - 130px);
}

/* Cards */
.card {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.card-header {
    font-size: 0.9rem;
}

/* Ticket entry thread */
.entry-message {
    word-break: break-word;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: auto;
    max-width: 100%;
}

.entry-message img {
    max-width: 100% !important;
    height: auto !important;
}

.entry-message table {
    max-width: 100% !important;
    width: auto !important;
    table-layout: auto;
}

.entry-message td,
.entry-message th {
    max-width: 100%;
}

.entry-message p,
.entry-message div,
.entry-message span {
    margin-bottom: 0;
}

.entry-message p + p {
    margin-top: 0.35rem;
}

/* Sticky tech actions sidebar */
.ticket-sidebar {
    position: sticky;
    top: 1rem;
}

/* Internal-note highlight */
.border-warning .card-header {
    background-color: #fff3cd !important;
}

/* Status summary cards on dashboard */
.card.text-white h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #fff;
    font-size: 0.8rem;
}

/* Ticket table */
.table td, .table th {
    vertical-align: middle;
}

/* Login page */
.login-wrapper {
    margin-top: 30px;
    min-height: calc(100vh - 180px);
    align-content: center;
}

.login-card {
    overflow: hidden;
    border: 1px solid #b8d4e8;
    background-color: #5b9bd5;
}

.login-image-wrapper {
    position: relative;
    line-height: 0;
}

.login-graphic {
    width: 40%;
    height: auto;
    display: block;
    margin-left: 35px;
    margin-top: 40px;
}

.login-logo-overlay {
    position: absolute;
    top: 40px;
    right: 30px;
    text-align: center;
    background: rgba(255,255,255,0.88);
    border-radius: 6px;
    padding: 8px 12px;
    line-height: 1.3;
    max-width: 130px;
}

.login-logo {
    width: 100px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 4px;
}

.login-logo-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-transform: uppercase;
}

.login-sso-btn {
    font-size: 0.95rem;
    color: black;
    text-decoration: none;
}

    .login-sso-btn:hover {
        color: white ;
        text-decoration: underline;
    }

/* Breadcrumb */
.breadcrumb {
    font-size: 0.85rem;
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
}

/* Priority row highlight */
.table-danger td {
    background-color: rgba(220, 53, 69, 0.07) !important;
}

/* Attachment links */
a[href*="GetAttachment"] {
    font-size: 0.8rem;
}
