body{background-color: #DBDBDB;}
table.login_out{
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 500px;
    background-color: white;
    border-collapse: collapse;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px;
    }
.login_text{
    width: 600px;
    height: 25px;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
    background: #EAEAEA url(../images/username.ico) right no-repeat;
    background-size: 30px;
    color: navy;
    }
.login_search{
    width: 600px;
    height: 30px;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
    background: #EAEAEA url(../images/search.ico) right no-repeat;
    background-size: 30px;
    color: navy;
}
a:link{text-decoration: none;}
.login_pwd{
    width: 600px;
    color: navy;
    height: 25px;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
    background: #EAEAEA url(../images/userpwd.ico) right no-repeat;
    background-size: 30px;
    }
.login_button{
    color: white;
    width: 600px;
    height: 35px;
    text-align: center;
    border-radius: 5px;
    background-color: #0B4DFF;
}
.icon_word{font-weight: bold;}
table.table_kubwa{
    position: absolute;
    top: 1%;
    left: 5%;
    background-color: white;
    width: 90%;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px;
}
.myfields{width: 50px;}

/*profile picture*/

table.kulia_menu{
        width: 100%;
        border-radius: 5px;background-color: white;box-shadow: 1px 1px 1px 1px;color: black;padding: 5px;}
.profile-container{
      width:100%;
      max-width: 100%;
      box-sizing: border-box;
    display:flex;
    justify-content:center;
    margin-top:15px;
}

.profile-card{
    width: 100%;
      max-width: 220px;
      box-sizing: border-box;
    background:#ffffff;
    border-radius:15px;
    text-align:center;
    padding:20px 15px;
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
    transition:0.3s;
}

.profile-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.18);
}

.profile-avatar img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #f0f0f0;
    margin-bottom:10px;
}

.profile-name{
    font-size:16px;
    font-weight:600;
    color:#333;
}

.profile-role{
    font-size:14px;
    color:#777;
    margin-top:3px;
}

.profile-phone{
    font-size:13px;
    color:#555;
    margin-top:5px;
}
a:hover{font-size: 15px;color: red;}
    .rowndani td{background-color: #DBDBDB;text-transform:  capitalize;text-align: left;}
    table.kulia_menu{
        border-radius: 5px;background-color: white;box-shadow: 1px 1px 1px 1px;color: black;padding: 5px;}
        
        table.ndani{background-color: #E8E8E8;padding: 3px;width: 100%; border-radius: 5px;}        
        #ndani_contents{background-color: #E8E8E8;width: 100%; border-radius: 5px;box-shadow: 1px 0px 0px 0.5px;}
        .title {
                margin: 0;
                padding: 8px 12px;
                color: #ffffff;
                display: block;
                text-align: center;
                border-radius: 10px 10px 0 0;
                text-shadow: 0 1px 1px #000;
                background: linear-gradient(to bottom, #ffffff 0%, #565656 16%, #323232 100%);
                border: 1px solid #000;
                font-size: 20px;
            }
        .results-table th .title{
                margin: -5px;
        }
        .myfields{width: 350px; height: 20px; border-radius: 5px;background-color: #B0C79F;color: navy; font-size: 15px;}
         .myfield{width: 350px;  border-radius: 5px;background-color: #B0C79F;color: navy; font-size: 15px;}
        .mybuttons{background-color:#C7C7C7;
            color:#111111;
            width:150px;
            padding:8px 12px;
            border:1px solid #9d9d9d;
            border-radius:8px;
            transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
            cursor:pointer;
        }
        .mybuttons:hover{
           background-color:gary;
             border-color:#7f7f7f;
             color:#000000;
        }
        /*.links_right_menu ul li{background-color: #146C89;}*/
        .links_right_menu ul li a:link{color: #146C89; width: 500px;padding-right: 4px;font-weight: bold;}
        .links_right_menu ul li a:visited{color: #146C89; }
        .links_right_menu ul li a:active{color: #146C89;}
        .links_right_menu ul li a:hover{color: white;background-color: #146CDD;padding-right: 4px;border-radius: 3px;}
        .text_sms{font-size: 20px;color: #146C89;text-transform: capitalize}
        .sechaz{
            width:100%;
            height:42px;
            font-size:13px;
            border-radius:6px;
            border:1px solid #cccccc;
            color:#222222;
            text-transform:lowercase;
            box-sizing:border-box;
            padding:0 10px;
            background:#ffffff;
        }
        .sechaz::first-letter{
            text-transform:uppercase;
        }
        .myfields2{  width: clamp(220px, 60%, 520px); padding: 10px;    border: 1px solid #ccc;border-radius: 6px;    box-sizing: border-box;  font-size: 14px;}

        @media (max-width: 768px){
            .myfields2{ width: 100%;font-size: 16px;  }
        }
.myfields3{width: 100%; padding: 7px; border: 1px solid #ccc;  border-radius: 5px;    box-sizing: border-box;}
/*dispaly data*/        
.results-table th,
        .results-table td {
          padding: 5px;
          text-align: left;
          border-bottom: 1px solid #ccc;
          font-size: 14px;
        }
        .results-table td { text-transform: lowercase;}
        .results-table td::first-letter { text-transform: uppercase;}
        .results-table th {   background-color: #f5f5f5;        }        
        .results-table tr:nth-child(even) {    background-color: #f9f9f9;        }        
        .results-table tr:hover { background-color: #e8e8e8;   }
        /*end display data*/
    .date-container {
        display: flex;
        align-items: center;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 5px 10px;
        flex: 1;
        width: 300px;
        height: 25px; /* Ensures that the date containers have a fixed height */
    }

    .date-container input[type="date"] {
        border: none;
        outline: none;
        font-size: 14px;
        width: 100%;
        color: #555;
        height: 100%; /* Ensure the date input matches the height */
        padding: 0; /* Remove any internal padding */
    }

    .date-container input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
    }

    /* Customize the thin line separator */
    .line-separator {
        width: 1px;
        height: 100%; /* Adjust the height relative to the date container */
        border-left: 1px solid #323232; /* Thin blackish line */
        margin-right: 10px;
    }
    .calendar-icon {
        margin-right: 10px;
        color: #888;
        font-size: 16px;
    }
    .prepare-button {
        background-color: #666666;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 15px;
        font-size: 14px;
        cursor: pointer;
        height: 30px; /* Ensure the button height matches the date containers */
        width: 150px;
    }

    .prepare-button:hover {
        background-color: #323232;
            color: white;
    }
.form-control{
    width: clamp(220px, 60%, 520px); padding: 10px;    border: 1px solid #ccc;border-radius: 6px;    box-sizing: border-box;  font-size: 14px;}

        @media (max-width: 768px){
            .myfields2{ width: 100%;font-size: 16px;  }
}
/*calender search*/
.report-shell{
    width:100%;
 }
 .report-summary{
    display:inline-block;
    padding:10px 0;
    text-align:left;
    align:left;
 }
 .report-summary table td{
    padding:6px 10px;
 }
 .report-filter-wrap{
    display:flex;
    justify-content:center;
    padding:10px 6px 4px;
 }
 .report-filter-card{
    width:min(100%, 700px);
    background-color:#f9f9f9;
    border:1px solid #cccccc;
    border-radius:8px;
    box-shadow:none;
    padding:20px 22px;
    text-align:left;
 }
 .report-filter-title{
    margin:0 0 8px;
    color:#222222;
    font-size:24px;
    font-weight:700;
    letter-spacing:0;
 }
 .report-filter-subtitle{
    margin:0 0 20px;
    max-width:none;
    color:#444444;
    line-height:1.5;
    font-size:14px;
 }
 .report-filter-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
    text-align:left;
 }
 .report-field label{
    display:block;
    margin-bottom:6px;
    color:#222222;
    font-weight:700;
    font-size:14px;
 }
 .mytext_calender{
    width:100%;
    height:40px;
    border:1px solid #cccccc;
    border-radius:6px;
    background:#ffffff;
    padding:0 10px;
    font-size:14px;
    color:#222222;
    box-sizing:border-box;
    outline:none;
    transition:.2s ease;
 }
 .mytext_calender:focus{
    border-color:#999999;
    box-shadow:none;
    background-color:#fcfcfc;
 }
 .report-filter-actions{
    display:flex;
    justify-content:flex-start;
    gap:14px;
    margin-top:18px;
    flex-wrap:wrap;
 }
 .report-filter-actions .mybuttons{
    background-color:#C7C7C7;
    color:#111111;
    width:150px;
    padding:8px 12px;
    border:1px solid #9d9d9d;
    border-radius:8px;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
 }
 .report-filter-actions .mybuttons:hover{
    background-color:#b9b9b9;
    border-color:#7f7f7f;
    color:#000000;
 }
 .report-filter-actions .mybuttons:active{
    transform:translateY(1px);
 }
 @media (max-width: 700px){
    .report-filter-card{
        padding:18px 14px;
        border-radius:8px;
    }
    .report-filter-title{
        font-size:22px;
    }
    .report-filter-grid{
        grid-template-columns:1fr;
    }
 }
/*end calender search*/

.welcome-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #d5dbe0;
    border-radius: 12px;
    background: linear-gradient(180deg, #fafcfd 0%, #edf2f5 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.welcome-topbar-left,
.welcome-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-user-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #dce8ef 0%, #bccdd8 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 3px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.welcome-user-avatar::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: #5f7483;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.welcome-user-avatar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 24px;
    height: 14px;
    margin-left: -12px;
    border-radius: 14px 14px 10px 10px;
    background: #5f7483;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.welcome-user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #2d3d4a;
    font-size: 14px;
}

.welcome-user-meta strong {
    color: #16384f;
}

.welcome-topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #16384f;
    font-weight: bold;
}

.welcome-topbar-right a:hover {
    color: #0b5889;
}

.welcome-chart-link {
    padding: 8px 12px;
    border: 1px solid #cfd9df;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #eef3f6 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.welcome-chart-link:hover {
    background: linear-gradient(180deg, #f6fbff 0%, #e3edf4 100%);
}

.welcome-switch-links{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
    padding:12px 0 4px;
}

.welcome-switch-panel{
    max-width:760px;
    margin:12px auto 6px;
    padding:18px 20px;
    border:1px solid #d5dbe0;
    border-radius:14px;
    background:linear-gradient(180deg, #fbfcfd 0%, #eef3f6 100%);
    box-shadow:0 10px 24px rgba(0,0,0,0.06);
    text-align:center;
}

.welcome-switch-title{
    color:#16384f;
    font-size:22px;
    font-weight:700;
    letter-spacing:.3px;
}

.welcome-switch-subtitle{
    margin-top:6px;
    color:#52616d;
    font-size:14px;
    line-height:1.5;
}

.welcome-switch-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:160px;
    padding:10px 16px;
    border:1px solid #cfd9df;
    border-radius:10px;
    background:linear-gradient(180deg, #ffffff 0%, #eef3f6 100%);
    box-shadow:0 4px 10px rgba(0,0,0,0.05);
    color:#16384f;
    font-weight:700;
}

.welcome-switch-link:hover{
    background:linear-gradient(180deg, #f6fbff 0%, #e3edf4 100%);
    color:#0b5889;
}

.welcome-switch-empty{
    margin:10px auto 4px;
    padding:14px 16px;
    max-width:520px;
    text-align:center;
    color:#44525d;
    background:#f7f9fb;
    border:1px solid #d7e0e7;
    border-radius:10px;
}

#notification_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: #c62828;
    color: #ffffff;
    font-weight: bold;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.25);
    margin-left: 0;
    position: static;
    z-index: auto;
}

@media (max-width: 768px) {
    .welcome-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-topbar-left,
    .welcome-topbar-right {
        justify-content: space-between;
    }

    .welcome-switch-links{
        justify-content:stretch;
    }

    .welcome-switch-link{
        width:100%;
        min-width:0;
    }

    .welcome-switch-panel{
        padding:16px 14px;
    }

    .welcome-switch-title{
        font-size:19px;
    }
}
