.mega-main-con {
    display: flex;
    min-height: 500px;
    width: 100%;
    border: 1px solid none;

    flex-wrap: wrap;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.mega-row-con {
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    border: 1px solid none;
    min-height: 400px;
    margin: 0px 0px 20px 0px;
    justify-content: space-between;
    width: 100%;
}

.welcome-header {
    display: flex;
    align-self: flex-start;
    border-bottom: 1px solid none;
    font-size: 26px;
    width: 95%;
    min-height: 100px;
    margin: 10px auto;
    padding: 0px 25px;
    color: rgb(26, 26, 26);
    font-weight: 500;
    background-color: white;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: -2px 4px 6px 1px rgb(233, 233, 233);

    /* animation */
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.0s ease-out forwards;


}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-row {
    display: flex;
    width: auto;
    justify-content: space-around;
    margin: 10px 0px 10px 0px;
    flex-wrap: nowrap;
    border: 1px solid none;
    width: 100%;

    /* animation */
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.0s ease-out forwards;


}

.row-box {
    display: flex;
    width: 400px;
    box-shadow: 0px 0px 3px rgb(214, 214, 214);
    border-radius: 10px;
    padding: 20px;
    max-height: 120px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.row-box:hover {
    box-shadow: 0 6px 10px rgba(0, 159, 188, 0.3);
    transform: translateY(-2px);
}

.row-box-header {
    display: flex;
    font-weight: 400;

    color: rgb(36, 36, 36);
    flex-wrap: nowrap;
}

.row-box-h-right {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0px 0px 30px;

}

.row-box-h-right div {
    display: flex;
    width: 100%;
    font-weight: 300;
}

.row-box-h-right-header {
    font-size: 18px;
    font-weight: lighter;
    flex-grow: 1;
    margin-bottom: 10px;
}

.row-box-h-right-content {
    color: rgb(85, 85, 85);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;

}

.row-content-head {
    color: rgb(62, 62, 62);
    font-weight: bold;
    border: 1px solid none;
    display: flex;
    line-height: 1;
    align-self: center;
    margin-bottom: 5px;

}

.row-content-inner {
    color: rgb(25, 25, 25);
    font-weight: 300;
    display: flex;
    line-height: 1;
    align-self: center;
    border: 1px solid none;
    margin: 0px;
}

.pay-now-btn {
    background: linear-gradient(135deg, #0099cc, #00bfa5);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 159, 188, 0.2);
}

.pay-now-btn:hover {
    background: linear-gradient(135deg, #00bfa5, #0099cc);
    box-shadow: 0 6px 14px rgba(0, 159, 188, 0.3);
    transform: translateY(-2px);
}

.pay-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 159, 188, 0.2);
}

.quick-links a {
    display: flex;
    color: #0d6efd;
    /* soft medical blue */
    font-size: 15px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0px;
    align-self: center;
}

.quick-links a:hover {
    background-color: #e6f2fb;
    /* very light blue background */
    color: #084298;
    /* darker blue on hover */
    transform: translateX(4px);
    /* subtle slide */
}

.quick-links a:active {
    background-color: #cce5ff;
    /* pressed effect */
    transform: translateX(2px);
}

.row-box-h-left {
    border: 1px solid none;

}

.img-con {
    border: 1px solid none;
    border-radius: 45px;
    padding: 10px;

}

.img-con-blue {
    background-color: #89e0fc;
}

.img-con-orange {
    background-color: #fabf72;
}

.img-con-green {
    background-color: #72fa8d;
}

.content-row-info {
    font-size: 24px;
}

.upapp {
    background-color: white;
    border-radius: 10px;
    width: 95%;
    padding: 0px;
    box-shadow: -2px 4px 6px 1px rgb(233, 233, 233);
    height: fit-content;

}

.upapp-head {
    padding: 20px 25px;
    border-bottom: 1px none rgb(206, 206, 206);
    font-weight: 500;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    color: black;
}

.upapp-head div {
    display: inline;

}


.upapp-btn {
    margin: 20px 0px;
}

.upapp-content-mega-con {
    padding: 0px 0px;

    margin: 0px 0px;
}

.upapp-out-con {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 25px;
    padding: 20px 15px;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 15px;
    transition: all 0.3s ease;
        /* animation */
        opacity: 0;
        transform: translateY(40px);
        animation: slideUp 1.0s ease-out forwards;
}

.upapp-out-con:hover {
    transform: translateY(-2px);
    /* nudge upwards */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* soft shadow */
    border-color: #ededed;
    /* optional: lighten border on hover */
}

.upapp-content {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    border: 1px solid none;
    justify-content: space-between;
    padding: 0dvb 0px;
    align-self: flex-end;
    color: rgb(31, 31, 31);
}

 

.upapp-content div {
    display: flex;
    border: 1px solid none;
    padding: 0px;
    align-self: center;
}

.upapp-content-top {
    font-weight: bold !important;
    border: 1px solid none;
}

.first-info {
    width: 60%;
    

}

.second-info {
    width: 30%;
    justify-content: flex-end;
    border: 1px solid none;
}



.pagination {
    text-align: center;
    margin: 20px 0;
    justify-content: center;
}

.pagination a {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.pagination a.active {
    background-color: #e53935;
    color: #fff;
    border-color: #e53935;
    font-weight: bold;
}

.tabs {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 2px solid #e6e6e6;
    background: #fafafa;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: #ffffff;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f0f8ff;
    color: #007BFF;
}

.tab-btn.active {
    background: #007BFF;
    color: #ffffff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tab-content {
    padding: 20px;
    background: #ffffff;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-top: -1px;
    /* overlap with tab bar */
}

.second-info-records {
    border-radius: 15px;
    padding: 3px 15px !important;
    margin-right: 15px;
}

.second-info-result {
    background-color: #007BFF;
    color: white !important;
    padding: 3px 15px !important;
    border-radius: 10px;
    font-size: 14px;
    align-self: center;
}

.available-status {
    font-size: 14px;
    color: #3c5541;
    font-weight: 400;
    background-color: rgb(227, 255, 227);

}

.pending-status {
    color: rgb(161, 119, 40);
    font-weight: 400;
    background: #fff3cd;
    padding: 3px 15px !important;
    border-radius: 15px;
    font-size: 14px;
}

.pending-result {
    background-color: #cccccc;
    color: rgb(0, 0, 0) !important;
    padding: 3px 15px !important;
    border-radius: 10px;
    font-size: 14px;
    align-self: center;
    color: #999;
    cursor: not-allowed;

}

.toggle-details {
    border: none;
    text-decoration: none;
}


.rx-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.0s ease, padding 0.8s ease;
    padding: 5px 0px 0px 10px;
    /* collapsed has no padding */
    border-top: none;
    width: 100%;
}

.rx-details.open {
    max-height: 500px;
    /* enough for content */
    padding: 10px;
    /* only when open */
    border-top: 1px solid #eee;
    background: #fafafa;
}

a {
    color: inherit;
    /* use parent text color */
    text-decoration: none;
    /* remove underline */
}

/* Optional: add smooth hover underline only if you want */
a:hover {
    text-decoration: none;
    /* keep clean, or change to underline */
}

.second-row-right {
    display: flex;
    align-self: center;
}

.welcome-header-info-right {
    display: flex;
    align-self: center;
    justify-content: flex-end;
    font-weight: 200;
    color: rgb(86, 86, 86);
}

.payment-status{
     color: rgb(158, 72, 72);
     margin-left: 5px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 400;
    background-color: rgb(255, 240, 240);
    padding: 3px 15px;
}

.payment-status-paid{
     color: rgb(34, 68, 30);
     margin-left: 5px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 400;
    background-color: rgb(217, 252, 228);
    padding: 3px 15px;


}

.error-message {
    background: #ffe5e5;
    color: #b10000;
    padding: 10px 15px;
    border: 1px solid #ffb3b3;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.payment-status-pending{
    color: rgb(161, 119, 40);
    margin-left: 5px;
   border-radius: 15px;
   font-size: 14px;
   font-weight: 400;
   background-color: #fff3cd;
   padding: 3px 15px;


}
.welcome-header-info-left{
    color: rgb(76, 76, 76);
}
.images-holder{
    width: 45px;
}



/* Styles for smaller screens (mobile devices) */
@media only screen and (max-width: 768px) {
    .welcome-header{
        flex-wrap: wrap;
        font-size: 22px;
        padding: 5px 10px;
        min-height: 70px;
        
    }
    .welcome-header-info-left{
        color: rgb(101, 101, 101);
        font-size: 20px;
    }

    .welcome-header-info-right{
        font-size: 16px;
        width: 100%;
        justify-content: flex-start;
    }

    .container-row-dashboard{
        flex-wrap: wrap;
        width: 95%;
        margin: 0px auto;
    }

    .row-box{
        min-width: 100%;
        height: 80px;
        margin-bottom: 15px;
        
    }

    .images-holder{
        width: 35px;
    }

    .row-box-h-right{
        padding: 0px 0px 0px 10px;  
    }

    .row-box-h-right-header{
        font-size: 16px;
        margin: 0px;
        
    }
    .content-row-info{
        font-size: 20px;
    }

    .first-info-pes{
        flex-wrap: wrap;
     }
    .first-info-title{
        width: 100%;
    }
 
    .first-info-pes{
        width: 100%;
        flex-wrap: wrap;
        
    }

    .second-info-pes{
        width: 100%;
        justify-content: flex-start;
        
    }

    .upapp-content-bottom{
        flex-wrap: wrap;
    }

    .tab-btn{
        font-size: 14px;
    }

    .payment{
        width: 100%;
        margin: 0px 0px 0px -5px;
    }

   
   
  
}

/* Styles for very small screens (phones) */
@media only screen and (max-width: 480px) {

    .images-holder{
        width: 35px;
    }
  
}

@media only screen and (min-width: 601px) and (max-width: 1224px) {
    .images-holder{
        width: 35px;
    }
   
}