.fir-heading{
    color: #e74c3c;
}

.fir-btn{
    color: #fff;
    height: 34px;
    font-weight: 500;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 10px;
    display: flex;             
    align-items: center;      
    justify-content: center; 
    gap: 6px; 
    background: #5856d6;
    border: 1px solid #5856d6;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.fir-btn:hover{
    color: #FFFFFF;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.fir-btn span {
    font-size: 15px;         
    line-height: 1;  
}

/* ===========================
   HEADER GRADIENT (unchanged)
   =========================== */
.header-gradient {
    background: linear-gradient(135deg, #16a34a 0%, #0d8c46 100%);
    border-radius: 12px;
    padding: 22px;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
}

/* FIR number title */
.header-fir-no {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

/* Header Meta */
.header-meta {
    color: rgba(255,255,255,0.92);
    font-size: 13px;
}



/* ==============================
   TOP ACTION BUTTONS FIXED
   ============================== */

.top-actions {
    display:flex;
    justify-content:space-between;
    width: 90%;
    margin: 20px auto 10px auto;
}

.btn-back {
    display:flex;
    align-items:center;
    gap:6px;
    color: var(--primary-color);
    cursor:pointer;
    text-decoration:none;
}

.btn-back span {
    font-size: 16px;
}



/* ===============================
   FIXED THREE DOT (ACTION MENU)
   =============================== */

.action-dropdown {
    position: absolute;
    top: 6px;
    right: 16px;
    z-index: 100;
}

.action-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* FIXED: Menu width + shadow + correct positioning */
.action-menu-panel {
    display:none;
    position:absolute;
    right:0;
    top:48px;
    background:white;
    border-radius:10px;
    overflow:hidden;
    min-width:170px;
    box-shadow: 0px 6px 22px rgba(0,0,0,0.15);
    z-index:999;
}

.action-menu-panel.open {
    display:block;
}

.action-menu-item {
    padding:10px 14px;
    font-size:14px;
    cursor:pointer;
    display:block;
    background:white;
    border-bottom:1px solid #eaeaea;
    color:#333;
    border: none;
}

.action-menu-item:hover {
    background:#f7f7f7;
}



/* SECTION HEADING EXACT LIKE YOUR OLD SS */
.section-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #001e4d;
}

.section-heading::before {
    content: '';
    height: 18px;
    width: 4px;
    border-radius: 2px;
    margin-right: 10px;
    background: var(--primary-color);
}



/* Info card spacing */
.info-card { 
    background: var(--bg-primary); 
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}



/* Keep your grid styles intact */
.calendar-table {
    width:100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    border:1px solid #ccc;
    padding:8px;
    text-align:center;
}



/* main container */
.form-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px 25px 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* field spacing */
.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

/* input */
.form-control,
.form-select {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    background-color: #fff;
    transition: 0.2s ease;
}

/* hover + focused */
.form-control:focus,
.form-select:focus {
    border-color: #4a89ff;
    box-shadow: 0 0 0 3px rgba(74, 137, 255, 0.25);
}

/* floating labels */
.form-label,
.select-label,
.file-label {
    position: absolute;
    left: 12px;
    top: -10px;
    background: #fff;
    padding: 0px 4px;
    font-size: 13px;
    color: #666;
    transition: 0.2s ease;
}

/* Select label fix */
.custom-select {
    position: relative;
}

/* checkbox spacing */
.custom-checkbox {
    transform: scale(1.2);
    margin-right: 8px;
}

/* button styles */
.table-success-btn {
    background: #28a745;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    border: none;
    transition: 0.2s;
}

.table-success-btn:hover {
    background: #1f8b39;
}

/* modal inputs */
.modal .form-control,
.modal .form-select {
    font-size: 14px;
    padding: 8px 10px;
}

.btn-sd {
    padding: 8px 14px;
    border-radius: 6px;
}

/* error message file input */
.file-error {
    color: red;
    font-size: 13px;
    margin-top: 4px;
}

.para-font{
    margin-top: 30PX;
}

