body {
background: #eaeef1;
font-family:
    Segoe UI,
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
color: #212529;
}

h1, h2, h3, h4, h5, h6 {
color: #1f4e79;
}

a {
text-decoration: none;
}

.breadcrumb {
margin-bottom: 40px;
background: transparent;
}

.page-title {
font-size: 42px;
font-weight: 700;
margin-bottom: 45px;
}


/* nav start */

nav {
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    padding: 10px 9rem;
    margin-top: 0;
    width: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7edf5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

nav #di-logo {
    width: 14rem;
}

nav #odop-logo {
    width: 6rem;
}
nav #cm-logo {
    width: 5.2rem;
}

/*=========================
    CARD DESIGN
==========================*/

.support-card {
position: relative;
display: flex;
align-items: center;
gap: 40px;
overflow: hidden;
border: 3px solid transparent;
border-radius: 18px;
padding: 22px;
/* min-height: 160px; */
background: #fff;
cursor: pointer;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.support-card.active {
border-color: #0d6efd;
background: #f3f8ff;
}

.support-card.active::after {
content: "✓";
position: absolute;
right: 18px;
top: 18px;
width: 30px;
height: 30px;
border-radius: 50%;
background: #0d6efd;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}

.support-card h3 {
font-size: 24px;
font-weight: 700;
margin-bottom: 4px;
position: relative;
z-index: 2;
}

.support-card p {
color: #4d5663;
position: relative;
z-index: 2;
font-size: 14px;
margin-bottom: 0;
padding-bottom: 0;
}

.support-card .icon {
width: 60px;
height: 60px;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 34px;
position: relative;
z-index: 2;
}

/* Decorative Shape 1 */

.support-card::before {
content: "";
position: absolute;
width: 180px;
height: 180px;
border-radius: 50%;
top: -80px;
left: -70px;
opacity: 0.25;
}

/* Decorative Shape 2 */

.support-card::after {
content: "";
position: absolute;
width: 120px;
height: 120px;
border-radius: 35% 65% 70% 30%;
right: -35px;
bottom: -35px;
opacity: 0.2;
}

/*==========================
    CARD 1
==========================*/

.ticket-card {
background: linear-gradient(135deg, #ffffff, #edf5ff);
}

.ticket-card::before {
background: #9cbef1;
}

.ticket-card::after {
background: #9cbef1;
}

.ticket-card .icon {
background: #d9ebff;
color: #0d6efd;
}

/*==========================
    CARD 2
==========================*/

.view-card {
background: linear-gradient(135deg, #fffdf2, #fff3d4);
}

.view-card::before {
background: #f5dfa4;
}

.view-card::after {
background: #f5dfa4;
}

.view-card .icon {
background: #fff1ca;
color: #ff9800;
}

/*==========================
    COMMON BOX
==========================*/

.content-box {
display: none;
margin-top: 45px;
background: #fff;
border: 1px solid #e7edf5;
border-radius: 20px;
padding: 35px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.form-subtitle{
    color: #4d5663;
    position: relative;
    z-index: 2;
    font-size: 14px;

}

.section-title {
font-size: 28px;
font-weight: 700;
margin-bottom: 15px;
color: #1b2430;
}

.section-header {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 12px;
}

.section-header-icon {
width: 42px;
height: 42px;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 20px;
background: linear-gradient(135deg, #0d6efd, #4f8cff);
color: #fff;
box-shadow: 0 6px 14px rgba(13, 110, 253, 0.2);
}

.section-header-line {
flex: 1;
max-width: 70px;
height: 3px;
border-radius: 999px;
background: linear-gradient(90deg, #0d6efd, #7bbcff);
}

.section-head-text {
color: #1f4e79;
font-weight: 700;
}

.form-label {
font-weight: 600;
color: #334155;
margin-bottom: 8px;
}

.form-label::after {
content: " *";
color: #e63946;
}

.form-control,
.form-select {
height: 52px;
border-radius: 10px;
}

textarea.form-control {
height: 140px;
}

.btn-main {
background: #0d6efd;
color: #fff;
padding: 12px 35px;
border: none;
border-radius: 10px;
font-weight: 600;
display: block;
margin: 0 auto;
}

.btn-main:hover {
background: #0b5ed7;
color: #fff;
}

.btn-link {
display: block;
margin: 0 auto;
width: fit-content;
}

.divider {
text-align: center;

color: #999;

margin: 25px 0;

position: relative;
}

.forgot-panel {
/* background: linear-gradient(135deg, #f8fbff, #f2f7ff); */
/* background: linear-gradient(135deg, #eef2ff, #dbeafe); */
/* background: linear-gradient(135deg, #fff7ed, #ffe4e6); */
background: linear-gradient(135deg, #e0f2fe, #ecfeff);
/* border: 1px solid #d9e6f7; */
    border: 2px dashed #6d98d0;
border-radius: 18px;
padding: 24px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.forgot-panel h4 {
color: #1f4e79;
margin-bottom: 12px;
}

.forgot-panel p {
color: #4d5663;
margin-bottom: 18px;
}

.forgot-panel .form-control {
max-width: 420px;
margin: 0 auto;
}

.forgot-panel .form-check {
margin-left: 2px;
text-align: left;
width: fit-content;
margin: 0 auto 10px auto;
}

.forgot-panel .btn-main {
margin-top: 10px;
}

.divider::before {
content: "";

position: absolute;

width: 42%;

height: 1px;

background: #ddd;

left: 0;

top: 50%;
}

.divider::after {
content: "";

position: absolute;

width: 42%;

height: 1px;

background: #ddd;

right: 0;

top: 50%;
}

.fm-width{
    width: 420px;
}


.success-card{

    background:linear-gradient(135deg,#eefaf5,#f8fffc);

    border-left:6px solid #0d6efd;

    border-radius:18px;

    padding:45px;

    text-align:center;

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.success-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#e9f7ff;

    color:#0d6efd;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    margin-bottom:5px;

}

.success-title{

    font-size:32px;

    font-weight:700;

    color:#0d3b66;

}

.success-text{

    color:#5b6573;

    font-size:18px;

    margin-bottom:13px;

}

.ticket-id-box{

    display:inline-block;

    background:#0d6efd;

    color:#fff;

    padding:15px 28px;

    border-radius:12px;

    font-size:20px;

    font-weight:600;

    margin-bottom:30px;

}

.ticket-id-box span{

    margin-left:10px;

    font-weight:700;

    letter-spacing:2px;

}

.success-note{

    background:#f4f9ff;

    border-radius:12px;

    padding:25px;

    text-align:left;

}

.success-note h5{

    color:#0d6efd;

    font-weight:700;

}

.success-note p{

    margin:0;

    color:#56616d;

}


.ticket-details-section{
    background:#f4f8fc;
    padding:30px;
    border-radius:20px;
    margin-top:30px;
}

.ticket-card{
    background:#fff;
    border:1px solid #e7eef7;
    border-radius:18px;
    padding:24px;
    box-shadow:0 8px 25px rgba(15,23,42,.06);
}

.ticket-title{
    font-size:30px;
    font-weight:700;
    color:#1e293b;
}

.time-badge{
    display:inline-block;
    margin-top:10px;
    background:#eef5ff;
    color:#0d6efd;
    padding:6px 14px;
    border-radius:30px;
    font-size:14px;
}

.icon-btn{
    width:46px;
    height:46px;
    border:none;
    border-radius:12px;
    background:#f5f8fd;
    color:#0d6efd;
}

.info-box{
    background:#f8fbff;
    border:1px solid #e6edf7;
    border-radius:14px;
    padding:18px;
}

.info-box small{
    color:#6b7280;
}

.info-box h6{
    margin-top:8px;
    margin-bottom:0;
    font-weight:600;
}

.message-card{
    background:#f8fbff;
    border-radius:14px;
    padding:20px;
    border:1px solid #e6edf7;
}

.reply-box{
    min-height:220px;
    border-radius:14px;
    border:2px solid #e5edf6;
    padding:18px;
}

.reply-box:focus{
    border-color:#0d6efd;
    box-shadow:none;
}

.upload-area{
    border:2px dashed #d7e2ef;
    border-radius:16px;
    background:#fbfdff;
    text-align:center;
    padding:35px;
}

.upload-area i{
    font-size:42px;
    color:#0d6efd;
    margin-bottom:15px;
}

.detail-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #edf2f7;
}

.detail-row:last-child{
    border-bottom:none;
}

@media (max-width: 576px) {
nav{
    padding: 10px 1rem;
}
nav #di-logo {
    width: 9rem;
}
nav #odop-logo {
    width: 4rem;
}
nav #cm-logo {
    width: 3.2rem;
}
.page-title{
   font-size: 28px;
}

.section-title {
    font-size: 20px;
}

.support-card{
    min-height: 0px;
    padding: 14px;
}
.support-card h3 {
    font-size: 19px;
}
.support-card p {
    font-size: 12px;
    margin-bottom: 0px;
}

.fm-width {
    width: 311px;
}

.ticket-details-section{
    background: #ffffff;
    padding: 0px;
    margin-top: 55px;
}

.ticket-details-section .col-lg-8{
    margin-top: 0px;
}
}

@media (min-width: 577px) and (max-width: 768px) {
.page-title {
    font-size: 30px;
}

.support-card {
    margin-bottom: 20px;
}
}

/* Scope detail white cards so home .support-card.ticket-card gradient stays intact */
.support-card.ticket-card {
    background: linear-gradient(135deg, #ffffff, #edf5ff);
}
.ticket-details-section .ticket-card {
    background: #fff;
    border: 1px solid #e7eef7;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(15,23,42,.06);
}

/* Portal extras */
.flash {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.94rem;
    font-weight: 600;
}
.flash-error { background: #fff1f2; color: #e63946; border: 1px solid #fecdd3; }
.flash-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.flash ul { margin: 0; padding-left: 18px; }
.field-error { color: #e63946; font-size: 0.85rem; margin-top: 6px; font-weight: 600; }
.btn-refresh-captcha {
    border: 1px solid #e7edf5;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
}
.reply-thread {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e6edf7;
}
.reply-item {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
}
.reply-item.is-staff {
    border-left: 4px solid #0d6efd;
}
.badge-staff {
    font-size: 0.7rem;
    background: #0d6efd;
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.form-label-optional::after { content: none !important; }

