body{
margin:0;
font-family: "Segoe UI", Arial, sans-serif;
background:#f3f4f8;
color:#1f2937;
}


/* MAIN */

.main{
margin-left:260px;
padding:30px;
}


h2{
font-size:26px;
margin:0;
font-weight:600;
}


.sub{
color:#6b7280;
margin-top:4px;
margin-bottom:20px;
font-size:14px;
}


/* CARD */
/* ================= CARD ================= */

.profileCard{
    padding:25px;
    border-radius:16px;
    background:#ffffff;
    box-shadow:0 5px 18px rgba(0,0,0,0.05);
}


/* card header */
.cardHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.card h3{
    margin:0;
    font-size:18px;
    font-weight:600;
    color:#111827;
}


/* ================= GRID ================= */

/* tighter grid spacing */
.infoGrid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:12px; 
}



.infoItem{
    display:flex;
    gap:8px; 
    align-items:flex-start;
    padding:8px 12px; 
    border-radius:10px;
}

.infoItem:hover{
    background:#f8fafc;
}


/* label text */
.infoItem label{
    font-size:13px;
    color:#64748b;
    display:block;
    font-weight:500;
}


/* value text */
.infoItem p{
    margin:0;
    font-size:11px;
    font-weight:600;
    color:#111827;
}


/* ================= DESCRIPTION ================= */

.descBox{
    margin-top:25px;
    padding:8px 12px;
    background:#f9fafb;
    border-radius:12px;
    font-size:14px;
    color:#0a0a0a;
    line-height:1.6;
}


/* ================= EDIT INPUT ================= */

.editField{
    display:none;
    width:100%;
    margin-top:6px;
    padding:8px 10px;
    border:1px solid #e2e8f0;
    border-radius:8px;
    font-size:13px;
}


/* ================= ACTION BUTTONS ================= */

.actionBtns{
    display:flex;
    gap:8px;
}


/* edit button */
.btnEdit{
    background:#3396f3;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    font-size:13px;
    transition:0.2s;
}

.btnEdit:hover{
    background:#e0e7ff;
}


/* save button */
.btnSave{
    background:#10b981;
    color:white;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    transition:0.2s;
}

.btnSave:hover{
    background:#059669;
}


/* cancel button */
.btnCancel{
    background:#dbdbdb;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    transition:0.2s;
}

.btnCancel:hover{
    background:#e2e8f0;
}


/* ================= ICON ================= */

.icon{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    color:white;
    font-size:14px;
}



/* pastel colors */

.blue{
background:#e0ecff;
color:#2563eb;
}

.green{
background:#dcfce7;
color:#16a34a;
}

.teal{
background:#ccfbf1;
color:#0d9488;
}

.purple{
background:#f3e8ff;
color:#9333ea;
}

.orange{
background:#ffedd5;
color:#ea580c;
}

.pink{
background:#fce7f3;
color:#db2777;
}



/* TEXT */

label{

font-size:14px;
color:#6b7280;
font-weight:500;

}


label::after{
content:" :";
}


.infoItem p{

margin:0;
font-size:12px;
font-weight:600;
color:#111827;

}


.desc{

margin-top:15px;
padding:10px 12px;
background:#f9fafb;
border-radius:8px;
font-size:14px;
color:#003a98;

}

/* textarea style */
textarea.editField{
    resize:vertical;
    min-height:90px;
    font-family:inherit;
}


/* toast notification */

#toastWrap{
    position:fixed;
    top:20px;
    right:20px;
    z-index:999999;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.toast{
    min-width:280px;
    max-width:360px;
    padding:15px 18px;
    border-radius:14px;
    color:#fff;
    font-size:14px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.18);
    animation:toastIn .3s ease;
}

.toast.success{
    background:#16a34a;
}

.toast.error{
    background:#dc2626;
}

.toast i{
    font-size:16px;
}

@keyframes toastIn{
    from{
        opacity:0;
        transform:translateX(40px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

/* BADGE */

.badge{

padding:4px 10px;
border-radius:20px;
font-size:12px;
font-weight:600;
text-transform:capitalize;

}


.badge.active{

background:#ede9fe;
color:#6d28d9;

}


.badge.orange{

background:#ffedd5;
color:#c2410c;

}


/* Section Heading */
.mt {
    margin-top: 80px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Flexbox Row Container */
.eventList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Horizontal Card */
.eventRow {
    background: white;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    gap: 20px;
}

.eventRow:hover {
    transform: translateX(8px); /* Slides right slightly on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    border-color: #e2e8f0;
}

/* 1. Date Block (Left Side) */
.dateBlock {
    min-width: 80px;
    text-align: center;
    padding-right: 20px;
    border-right: 2px solid #f1f5f9;
}

.dateBlock .day {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #092c54;
    line-height: 1;
}

.dateBlock .month {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #1264de;
}

/* 2. Main Info (Center) */
.mainInfo {
    flex: 2;
}

.mainInfo h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #0f172a;
}

.mainInfo .subDetails {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #0b0b0b;
}

.mainInfo i {
    color: #94a3b8;
    margin-right: 5px;
}

/* 3. Mode/Status (Right Side) */
.statusSide {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* 4. Progress Bar  */
.progressMini {
    width: 150px;
}

.barBg {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 4px;
}

.barFill {
    height: 100%;
    background: linear-gradient(90deg, #4c2c72, #7c3aed);
    border-radius: 10px;
}

/* Badge for Row */
.rowBadge {
    background: #f0fdf4;
    color: #16a34a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
/* ================= RESPONSIVE ================= */


/* tablet */

@media (max-width:1100px){

.main{
margin-left:240px;
padding:20px;
}

.infoGrid{
grid-template-columns:repeat(2,1fr);
}

.eventGrid{
grid-template-columns:1fr;
}

}


/* small tablet / large phone */

@media (max-width:900px){

.main{
margin-left:0;
padding:18px;
}

.infoGrid{
grid-template-columns:1fr;
}

.eventGrid{
grid-template-columns:1fr;
}

.card{
padding:18px;
}

}


/* mobile */

@media (max-width:600px){

.main{
padding:15px;
}

h2{
font-size:22px;
}

.card{
padding:15px;
}

.infoItem{
flex-direction:row;
align-items:flex-start;
}

.icon{
width:35px;
height:35px;
}

.eventCard{
padding:14px;
}

}


/* very small */

@media (max-width:400px){

.main{
padding:10px;
}

h2{
font-size:18px;
}

label{
font-size:12px;
}

.infoItem p{
font-size:12px;
}

}