:root{
    --primary-green:#8CD248;
    --primary-blue:#42B4E6;
    --light-bg:#f5f7fa;
    --card-bg:#ffffff;
    --text-dark:#222;
}

body{
    background: var(--light-bg);
    font-family: 'Segoe UI', sans-serif;
}

.mobile-container{
    max-width:420px;
    margin:auto;
    min-height:50vh;
    background:#fff;
    position:relative;
    padding-bottom:90px;

}

.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    padding:10px 10px 0px 10px;
}
/*  padding:10px; background:#F8F9FB;*/
.logo{
    width:100%;
}

.logo-img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
}
.notification-icon{
    font-size:22px;
    position:relative;
}

.notification-dot{
    width:10px;
    height:10px;
    background:#ff5d5d;
    border-radius:50%;
    position:absolute;
    right:-2px;
    top:0;
}


.feature-card,
.chat-card,
.message-card{
    background:#ffffff;
    border-radius:18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-top: 8px;
}
.student-card{
    padding:8px;
    border-bottom:1px solid #E0E0E0;
}
.badge-standard{
    background: #E8F4FD;
    color: #2F80C1;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.student-img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
}

.feature-card{
    text-align:center;
    padding:10px 5px;
    height:120px;
    transition:.3s;
}
/*color:#296bd8; padding:22px 10px;*/
.feature-card:hover{
    transform:translateY(-3px);
}

.feature-icon{
    font-size:35px;
    color:#2180e2;
    margin-bottom:10px;
}

.chat-card{
    padding:18px;
}

.chat-icon{
    font-size:42px;
color:#296bd8;
   
}


.section-title{
    font-weight:300;
    font-size:18px;
}

.message-card{
    padding:15px;
}

.teacher-img{
    width:55px;
    height:55px;
    border-radius:50%;
}

.message-badge{
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--primary-green);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.bottom-nav{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    max-width:420px;
    width:100%;
    background:#fff;
    border-top:1px solid #e8e8e8;
    padding:10px 0;
}

.nav-link-custom{
    text-decoration:none;
    color:#444;
    font-size:13px;
}

.nav-link-custom.active{
    color:#2180e2;
}

.nav-link-custom i{
    font-size:22px;
    display:block;
    margin-bottom:5px;
}

.pull-right {
  float: right !important;
}
//////////////////////////////////////////////  Form CSS //////////////////////////////////////
.container{
    margin-top: 50px;
}

.form-box{
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.form-bottom{
    width: 100%;
}

.form-group{
    margin-bottom: 20px;
}

.form-control{
    height: 48px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    box-shadow: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus{
    border-color: #42B4E6;
    box-shadow: 0 0 8px rgba(66,180,230,0.3);
}

.form-control::placeholder{
    color: #999;
}

.btn-primary{
    height: 48px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #42B4E6, #8CD248);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px){
    .form-box{
        padding: 20px;
        margin: 15px;
    }

    .btn-primary,
    .form-control{
        height: 45px;
    }
}
////////////////////////////////// red alert    ////////////////////////////////////////////
.otp-message{
    background:#ffe5e5;
    border-left:5px solid #dc3545;
    color:#721c24;
    padding:15px;
    margin-top:15px;
    border-radius:8px;
    font-size:15px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}
.otp-message i{
    margin-right:5px;
    color:#dc3545;
}
/////////////////////////////////// band width   ////////////////////////////////////////////
.section-title-color{
    padding : 10px;
}
.section-title{
    margin : 0px;
    padding : 10px;
    font-weight:600;
background: linear-gradient(90deg, #4FB6E8 0%, #7B61FF 100%);
color: #FFFFFF;
box-shadow: 0 6px 16px rgba(75, 90, 255, 0.22);
}

.section-title i{
    padding-right : 15px;
    color:##FFFFFF;;
    font-size:24px;
}
/* background: #d6eaf8; 
    color:#3c4a6b; 
 background: #243B55;
color: #EAF2FF;
background: #2C313A;
color: #F1F5F9;*/
///////////////////////////////// chat icon    ////////////////////////////////////////////
/* Chat Card */
.chat-card{
    background:#fff;
    border-radius:18px;
    padding:16px;
    margin-bottom:14px;
    border:1px solid #EAF4FB;
    box-shadow:0 3px 12px rgba(66,180,230,0.10);
    transition:all .3s ease;
    cursor:pointer;
}

.chat-card:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 18px rgba(66,180,230,0.15);
}
/*
.chat-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:linear-gradient(135deg,#42B4E6,#5CC6F2);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    box-shadow:0 4px 12px rgba(66,180,230,0.25);
}
*/
.chat-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background: #A0A7B4;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    box-shadow: 0 4px 12px rgba(160, 167, 180, 0.25);
}
.chat-icon i{
    color:#fff;
    font-size:16px;
}

/* Message Title */
.msg-title{
    font-size:17px;
    font-weight:600;
    color:#2c3e50;
    margin-bottom:6px;
    line-height:1.4;
}

/* Date & Time */
.msg-time{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:#F4F9FD;
    color:#42B4E6;
    padding:5px 10px;
    border-radius:20px;
    font-size:13px;
    font-weight:500;
}

.msg-time i{
    font-size:12px;
}

/* Optional Unread Indicator */
.chat-card.unread{
    border-left:4px solid #42B4E6;
}

/* Mobile Friendly */
@media(max-width:576px){

    .chat-card{
        padding:15px;
        border-radius:16px;
    }

    .chat-icon{
        width:42px;
        height:42px;
    }

    .chat-icon i{
        font-size:16px;
    }

    .msg-title{
        font-size:16px;
    }

    .msg-time{
        font-size:12px;
    }
}
/* 
.chat-card{
    background:#fff;
    border-radius:16px;
    padding:16px 18px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    border:1px solid #f0f0f0;
    transition:all .3s ease;
    cursor:pointer;
}

.chat-card:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.student-name{
    font-weight:700;
    color:#222;
    margin:0;
    font-size:18px;
}

.student-class{
    color:#6c757d;
    font-size:14px;
}

.chat-arrow{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#eef7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#42B4E6;
    font-size:14px;
} */
///////////////////////////////////////  home work list //////////////////////////////
.homework-wrapper{
    background:#f8f9fa;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:15px;
    margin-bottom:20px;
    box-shadow: box-shadow:0 5px 15px rgba(0,0,0,0.10);
}

.homework-card{
    background:#fff;
    border-radius:16px;
    padding:16px;
    border-left:5px solid #42B4E6;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    margin-bottom:10px;
}

.homework-card1{
    background:#fff;
    border-radius:16px;
    padding:16px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    margin-bottom:10px;
}

.subject-name{
    font-size:18px;
    font-weight:700;
    color:#222;
}

.homework-content{
    color:#555;
    line-height:1.6;
    font-size:15px;
}
.attachment-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 12px;
    background:#f5f7fa;
    border-radius:20px;
    text-decoration:none;
    color:#555;
    font-size:14px;
    font-weight:500;
}

.attachment-link i{
    color:#42B4E6;
}

.attachment-link:hover{
    background:#e9ecef;
    color:#222;
}


.badge{
    font-size:12px;
    padding:6px 10px;
}

.image-preview{
    margin-top:15px;
}

.image-preview img{
    width:100%;
    max-height:300px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid #ddd;
}
///////////////////////////////////////////////  chat page ////////////////////////////////////////
.chatting-item{
    display:flex;
    width:100%;
    margin-bottom:15px;
}

/* Left Side */
.chatting-item-parent{
    justify-content:flex-start;
}

/* Right Side */
.chatting-item-teacher{
    justify-content:flex-end;
}

.chatting-bubble{
    max-width:100%;
    padding:8px 10px;
    border-radius:16px;
    margin-bottom:8px;
    box-shadow:0 3px 12px rgba(66,180,230,0.10);
}

/* Teacher Bubble */
.chatting-bubble-parent{
    background:#FFFFFF;
    border:1px solid #E5EAF0;
    border-bottom-left-radius:4px;
}

/* Parent Bubble */
.chatting-bubble-teacher{
    background:#E8F6FF;
    border:1px solid #D5ECF8;
    border-bottom-right-radius:4px;
} 
.chatting-role{
    font-size:12px;
    font-weight:600;
    color:#44506B;
    margin-bottom:4px; 
}

.chatting-message{
    font-size:15px;
    color:#222;
    line-height:1.5;
}
.chatting-time{
    margin-top:6px;
    font-size:11px;
    color:#7B8594; 
}

.chatting-role1{
    display: flex;
    justify-content:flex-end;
    font-size:12px;
    font-weight:600;
    color:#44506B;
    margin-bottom:4px;
    margin-right:4px;  
}

.chatting-message1{
    font-size:15px;
    color:#222;
    line-height:1.5;
    display: flex;
    justify-content:flex-end;
    margin-right:4px; 
}

.chatting-time1{
    margin-top:6px;
    font-size:11px;
    color:#7B8594;
    display: flex;
    justify-content:flex-end;
    margin-right:4px;   
}
////////////////////////////////////////////////////////   //////////////////////////////////////////////////


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
}

/* Container Spacing */
.app-list-container {
    max-width: 650px;
    margin: 20px auto;
    padding: 0 16px;
}

/* Gradient Action Button */
.btn-primary,
.btn-primary.form-control {
    background: linear-gradient(90deg, #3dbce5 0%, #63cc77 50%, #8ad843 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(61, 188, 229, 0.3);
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(61, 188, 229, 0.4);
}

/* small button */
.btn-primarysm,
.btn-primarysm.form-control {
    background: linear-gradient(90deg, #3dbce5 0%, #63cc77 50%, #8ad843 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(61, 188, 229, 0.3);
    transition: all 0.2s ease-in-out;
display: inline-block !important;
width: auto !important;
padding: 8px 16px !important;
font-size: 14px !important;
border-radius: 8px !important;
}

.btn-primarysm:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(61, 188, 229, 0.4);
}


/* Application Link & Card Structure */
.app-card-link {
    text-decoration: none !important;
    display: block;
    margin-bottom: 16px;
}

.app-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
}

.app-card-link:hover .app-card {
    border-color: #3dbce5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Typography Inside Card */
.app-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.app-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.app-name i {
    color: #64748b;
    margin-right: 6px;
}

.app-class {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-submitted {
    background-color: #0d8a56;
    color: #ffffff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
}

.empty-state i {
    font-size: 36px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.top-btn {
    display: inline-block;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    padding: 2px 4px;
    margin-left: 3px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 4px;
}

.top-btn i {
    font-size: 13px;
    margin-right: 3px;
}

.top-btn:hover {
    background: rgba(255,255,255,0.15);
} 

/* ///////////////////// detail section ///////////////////////// */

.detail-section {
    background: #ffffff !important;
    border: 1px solid #198754 !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

.detail-section-title {
    background: #e8f5e9 !important;
    color: #146c43 !important;
    border-bottom: 1px solid #198754 !important;
    padding: 12px 15px !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.detail-body {
    padding: 20px !important;
    background: #ffffff !important;
}

.detail-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #d1e7dd !important;
    padding: 8px 0 !important;
}

.detail-row:last-child {
    border-bottom: none !important;
}

.detail-label {
    width: 45% !important;
    font-weight: bold !important;
    font-style: italic !important;
    color: #343a40 !important;
    padding: 8px 10px !important;
}

.detail-value {
    width: 55% !important;
    padding: 8px 10px !important;
    color: #146c43 !important;
    font-weight: 500 !important;
    min-height: 20px !important;
}

.detail-value:empty:after {
    content: '-' !important;
    color: #999 !important;
}

.document-link {
    display: block !important;
    padding: 4px 0 !important;
}

.document-link a {
    color: #146c43 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.document-link a:hover {
    color: #0f5132 !important;
    text-decoration: underline !important;
}
.parents-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.parent-column {
    flex: 1;
    width: 50%;
}

.parent-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.parent-column .detail-row {
    margin-bottom: 12px;
}


@media(max-width:768px) {

    .detail-label,
    .detail-value {
        width: 100% !important;
    }

    .detail-label {
        padding-bottom: 2px !important;
    }

    .detail-value {
        padding-top: 2px !important;
    }
     .parents-details {
        flex-direction: column;
        gap: 25px;
    }
    .parent-column {
        width: 100%;
    }

}

