*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

/* ===== HEADER ===== */
.adm-header{
    width:100%;
    height:64px;
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 25px;
    color:#fff;
    font-family:"Segoe UI", Arial, sans-serif;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Left */
.adm-logo{
    font-size:18px;
    font-weight:700;
    letter-spacing:1px;
}

/* Center */
.adm-header-center{
    font-size:18px;
    font-weight:600;
    text-align:center;
}

/* Right */
.adm-header-right{
    display:flex;
    align-items:center;
    gap:15px;
    font-size:14px;
}

.adm-user{
    opacity:0.9;
}

.adm-logout{
    text-decoration:none;
    background:#ffffff;
    color:#1e3c72;
    padding:6px 14px;
    border-radius:20px;
    font-weight:600;
    transition:0.3s;
}

.adm-logout:hover{
    background:#e6ecff;
}

/* Responsive */
@media(max-width:768px){
    .adm-header-center{
        display:none;
    }
}

/* ===== APPROVAL FORM WRAPPER ===== */
.apr-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    margin:40px 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===== TABLE DESIGN ===== */
.apr-table{
    width:100%;
    max-width:650px;
    border-collapse:collapse;
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    border-radius:10px;
    overflow:hidden;
}

/* ===== TABLE HEADER ===== */
.apr-table th{
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    color:#fff;
    padding:14px;
    font-size:18px;
    text-align:center;
    letter-spacing:1px;
}

/* ===== TABLE CELLS ===== */
.apr-table td{
    padding:12px 15px;
    border-bottom:1px solid #e6e6e6;
    font-size:14px;
    color:#333;
}

/* ===== LABEL COLUMN ===== */
.apr-table td:first-child{
    width:40%;
    font-weight:600;
    background:#f9fafc;
    color:#444;
}

/* ===== LAST ROW BORDER FIX ===== */
.apr-table tr:last-child td{
    border-bottom:none;
}

/* ===== TEXTAREA ===== */
.apr-table textarea{
    width:100%;
    min-height:80px;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    resize:none;
    font-size:14px;
}

/* ===== BUTTON ===== */
.apr-table input[type="submit"]{
    background:#2a5298;
    color:#fff;
    border:none;
    padding:10px 22px;
    font-size:14px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.apr-table input[type="submit"]:hover{
    background:#1e3c72;
}

/* ===== BACK LINK ===== */
.apr-back{
    display:inline-block;
    margin-top:15px;
    text-decoration:none;
    font-weight:600;
    color:#2a5298;
}

.apr-back:hover{
    text-decoration:underline;
}

/* ===== RESPONSIVE ===== */
@media(max-width:600px){
    .apr-table td{
        display:block;
        width:100%;
    }

    .apr-table td:first-child{
        background:#eef2f8;
        border-bottom:none;
    }
}



/*Display Table*/
/* ===== WRAPPER ===== */
.adm-wrapper{
    width:100%;
    padding:30px;
    font-family:"Segoe UI", Arial, sans-serif;
}

/* ===== TITLE ===== */
.adm-title{
    text-align:center;
    margin-bottom:20px;
    font-size:22px;
    color:#1e3c72;
}

/* ===== TABLE ===== */
.adm-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    border-radius:10px;
    overflow:hidden;
}

/* ===== HEADER ===== */
.adm-table th{
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    color:#fff;
    padding:12px;
    font-size:14px;
    text-transform:uppercase;
}

/* ===== BODY ===== */
.adm-table td{
    padding:10px;
    text-align:center;
    font-size:13px;
    border-bottom:1px solid #eaeaea;
}

/* ===== STRIPE ===== */
.adm-table tr:nth-child(even){
    background:#f9fafc;
}

/* ===== BUTTONS ===== */
.adm-btn{
    display:inline-block;
    padding:5px 10px;
    font-size:12px;
    text-decoration:none;
    border-radius:4px;
    color:#fff;
    transition:0.3s;
}

/* delete */
.adm-del{
    background:#d9534f;
}
.adm-del:hover{
    background:#c9302c;
}

/* approve */
.adm-apr{
    background:#5cb85c;
}
.adm-apr:hover{
    background:#449d44;
}

/* view */
.adm-view{
    background:#0275d8;
}
.adm-view:hover{
    background:#025aa5;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .adm-table{
        font-size:12px;
    }
}

/* Delete button override */
.apr-del-btn{
    background:#d9534f;
    color:#fff;
    border:none;
    padding:10px 22px;
    font-size:14px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.apr-del-btn:hover{
    background:#b52b27;
}


/* ===== UNIQUE SUCCESS UI ===== */
.msg-ux-wrap{
    width:100%;
    min-height:40vh;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Segoe UI", system-ui, sans-serif;
}

/* Glass card */
.msg-ux-card{
    position:relative;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:14px;
    padding:34px 40px;
    width:100%;
    max-width:520px;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.12),
        inset 0 0 0 1px rgba(255,255,255,0.6);
    text-align:center;
    animation:fadeUp 0.6s ease-out;
}

/* Accent glow bar */
.msg-ux-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg,#2ecc71,#27ae60,#2ecc71);
    border-radius:14px 14px 0 0;
}

/* Success text */
.msg-ux-title{
    font-size:19px;
    font-weight:700;
    color:#1f7a3f;
    letter-spacing:0.3px;
    margin-bottom:22px;
}

/* Button */
.msg-ux-btn{
    display:inline-block;
    padding:11px 26px;
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    border-radius:30px;
    transition:0.35s;
    box-shadow:0 8px 18px rgba(30,60,114,0.35);
}

.msg-ux-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 26px rgba(30,60,114,0.45);
}

/* Animation */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(14px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Mobile */
@media(max-width:600px){
    .msg-ux-card{
        margin:0 15px;
        padding:28px 22px;
    }
}


/* ===== FOOTER ===== */
.adm-footer{
    width:100%;
    background:#f5f7fb;
    padding:12px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-family:"Segoe UI", Arial, sans-serif;
    font-size:12.5px;
    color:#555;
    border-top:1px solid #e0e6f1;
    margin-top:40px;
}

/* Responsive */
@media(max-width:600px){
    .adm-footer{
        flex-direction:column;
        gap:5px;
        text-align:center;
    }
}


/*FORM CSS*/
/* Form Container */
.main-div{
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.passcode-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    width: 320px;
}

/* Message */
.passcode-container p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

/* Input Field */
.passcode-container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}
.passcode-container input[type="password"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 8px rgba(102,126,234,0.5);
    outline: none;
}

/* Submit Button */
.passcode-container input[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.passcode-container input[type="submit"]:hover {
    background: #5a67d8;
}

/* Responsive */
@media(max-width: 400px){
    .passcode-container {
        width: 90%;
        padding: 30px 20px;
    }
}