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

html,body{
    width: 100%;
    overflow-x: hidden;
}

.main{
width: 100%;
max-width: 1200px;
margin: auto;
}

/* from box layout  */

.form-box{
width: 100%;
max-width: 100%;
background:white;
box-shadow:0 0 10px rgb(184, 113, 13);
}

/* from name,age,address, select_docter,dicter_citizion*/
.form-box input,
.form-box select{
color: black;
width:100%;
padding:12px;
margin-top:5px;
animation: dropDown 1s ease;
}

button{
background:#0056ff;
color:white;
padding:12px 20px;
border:none;
margin-top:15px;
cursor:pointer;
}

/* website image ai se granet image*/
.image-box {
width: 100%;
margin-top: -20px;
}

.image-box img{
    width: 100%;
    height: auto;
    display: block;
}
/* end image website */
 
/* secure, trust, 24*7, esay booking  */
.features{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:5px;
    background:#fff;
    padding:5px;
    margin:5px 0;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.feature-box{
    background-color: rgb(47, 82, 37);
    color: white;
    flex:1;
    text-align:center;
    padding:10px;
    border-right:1px solid #ddd;
}

.feature-box:last-child{
    border-right:none;
}

.feature-box span{
    font-size:28px;
    display:block;
    margin-bottom:5px;
}

.feature-box h4{
    font-size:15px;
    margin:0;
}
/* end fuature */

/* /book appiment edit */
/* dropDown name apne man se */

.book{
    background: linear-gradient(135deg, #00b4d8);
    text-align: center;
    padding: 0px 0px;
    margin-bottom: 0;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: dropDown 4s ease; 
}

.book h1{
    font-size: 50px;
    margin: 0;
    color: white;
}

.book p{
    font-size: 22px;
    margin-top: 10px;
    color: #02132b;
}

/* book end  */


/* docter image and book appoiment and dcoter footer */
.doctor-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    padding:20px;
}

.doctor-card{
    width:250px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:10px;
    text-align:center;
    background:#fff;
}

.doctor-img{
    width:100% !important;
    height:250px !important;
    object-fit:cover !important;
    border-radius:8px;
    display:block;
}

.book-btn{
    background:#00a2ff;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:5px;
    cursor:pointer;
}

.doctor-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:8px;
}

.doctor-card h4{
    margin: 10px 0 5px;
}

.doctor-card p{
    margin: 3px 0;
    font-size: 14px;
}

/* appoiment box */

.book-btn{
    display:inline-block;
    padding:10px 20px;
    background:#0d6efd;
    color:white;
    text-decoration:none;
    border-radius:5px;
    margin-top:10px;
}

.book-btn{
    background:#00bfff;
    color:white;
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

/* end book appoiment */

/* footer */

footer{
    background:#1d2638;
    color:white;
    padding:20px;
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    gap:20px;
    width:100%;
}

.footer-box{
    min-width:200px;
    text-align:center;
}

.footer-box h3{
    margin-bottom:10px;
}

.footer-box p{
    margin:5px 0;
}
/* footer moblie responceb */

@media (max-width:600px){
    footer{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-box{
        width:100%;
        margin-bottom:15px;
    }
}

/* footer end */

/* moblie ke liye docter image  */

@media (max-width:768px){
    .doctor-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:480px){
    .doctor-container{
        grid-template-columns:1fr;
    }
}

/* Mobile Responsive */


/* end docter image code */

@keyframes dropDown{
    from{
        opacity: 0;
        transform: translateX(-120px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }

}

/* end style for book now and your city all docter avileble */

/* header style */
/*  head blackground  color bule  */
.header{
    background: #102378;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px ;
    width: 100%;
    box-sizing: border-box;
}

/* ts box ts  */
.logo_ts{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    white-space: nowrap;
}

/* Time save  */

.logo_box{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.logo_box h1{
    color: #ffffff;
}

/* end header box */

/* home about contact edit  */
.ho_ab_co{
    display: flex;
    gap: 20px; 
    align-items: center;
}

/* about contact home color white and not header color bule  */
.ho_ab_co a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}


/* moblie size website degien header ke liye */

@media (max-width:600px){

    .header{
        flex-direction: column;
        gap: 10px;
        padding:10px;
    }

    .logo_box h1{
        font-size:24px;
    }

    .ho_ab_co{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap:10px;
    }

    .ho_ab_co a{
        font-size:14px;
    }
}

/* header colse */

/* secure, trust, 24*7, esay booking , moblie ke liye */

/* Mobile */
@media(max-width:600px){
    .features{
        display:flex;
        flex-direction: column;
        grid-template-columns:repeat(2,1fr);
    }

    .feature-box{
        width: 100px;
    }
}

/* sucess page */

.success-page{
    background:#244531;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    font-family:Arial,sans-serif;
}

.success-container{
    width:700px;
    max-width:90%;
    text-align:center;
    color:white;
}

.success-icon{
    width:120px;
    height:120px;
    background:white;
    color:#0a9b43;
    border-radius:50%;
    font-size:70px;
    line-height:120px;
    margin:auto;
    font-weight:bold;
}

.subtitle{
    margin-bottom:30px;
}

.details-box{
    background:white;
    border-radius:20px;
    overflow:hidden;
    color:black;
}

.detail-row{
    padding:20px;
    border-bottom:1px solid #ddd;
    text-align:left;
}

.detail-row span{
    color:gray;
    font-size:14px;
}

.detail-row h3{
    margin-top:5px;
}

.info-text{
    margin-top:20px;
    margin-bottom:20px;
}

.home-btn{
    display:inline-block;
    background:white;
    color:#0a9b43;
    padding:15px 40px;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
}

/* sucess page end */


/* doctor Register form */

body{
    margin: 0;
    padding: 0px;
    overflow-x: hidden;
}


.register-card{
    width: 90%;
    margin: 20px auto;
    max-width: 800px;
    background: rgb(226, 210, 190);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.register-card h2{
    text-align:center;
    margin-bottom:20px;
    color:#0d6efd;
}

.register-card input,
.register-card select{
    width:100%;
    padding:12px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:6px;
}

.register-card button{
    width:100%;
    padding:12px;
    background:#0d6efd;
    color:white;
    border:none;
    border-radius:6px;
    font-size:16px;
    cursor:pointer;
}

.register-card button:hover{
    background:#084298;
}

@media (max-width: 768px){
    .register-card{
        width: 95%;
        padding: 15px;
    }

    .register-card h2{
        font-size: 24px;
    }

    .register-card input,
    .register-card select,
    .register-card button{
        width: 100%;
        box-sizing: border-box;
    }
}

/* doctor register sucess */

.success-card{
    width:90%;
    max-width:500px;
    margin:80px auto;
    background:white;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 25px rgba(0,0,0,0.15);
}

.success-icon{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    background:#28a745;
    color:white;
    font-size:40px;
    line-height:80px;
    font-weight:bold;
}

.success-card h2{
    margin-top:20px;
    color:#28a745;
}

.success-card p{
    color:#666;
    margin:15px 0 25px;
}

.success-btn{
    display:inline-block;
    padding:12px 25px;
    background:#007bff;
    color:white;
    text-decoration:none;
    border-radius:8px;
}

.success-btn:hover{
    background:#0056b3;
}

@media(max-width:768px){
    .success-card{
        padding:25px;
        margin:40px auto;
    }
}


/* end doctor register */

/* end regitesion form */


/* Doctor Login Page */

.login-container{
    width: 90%;
    max-width: 400px;
    margin: 60px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.login-container h2{
    text-align: center;
    margin-bottom: 20px;
    color: #0d47a1;
}

.login-container input{
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-container button{
    width: 100%;
    padding: 12px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.login-container button:hover{
    background: #1565c0;
}

.login-container .error{
    color: red;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

/* Mobile Responsive */

@media (max-width: 768px){

    .login-container{
        width: 95%;
        padding: 20px;
        margin: 30px auto;
    }

    .login-container h2{
        font-size: 24px;
    }

    .login-container input,
    .login-container button{
        font-size: 15px;
    }
}

/*  login page end */


/* from box leyout tut raha tha es liye */

@media screen and (max-width:768px){

    body{
        margin:0;
        padding:0;
    }

    .main{
        width:100%;
        padding:0;
    }

    .book{
        width:100%;
        border-radius:0 0 25px 25px;
    }

    .book h1{
        font-size:55px;
    }

    .book p{
        font-size:18px;
    }

    .form-box{
        width:100%;
        margin:0;
    }

    .form-box input,
    .form-box select{
        width:100%;
    }
}

/* end from box leyout tut raha tha es liye */


/* cheking status */

body{
    background:#f4f7fc;
}

.status-card{
    width:80%;
    margin:30px auto;
    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.status-card h2{
    text-align:center;
    color:#0038a8;
    margin-bottom:25px;
    font-size:32px;
}
.status-card{
    width:85%;
    margin:30px auto;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.status-card h2{
    background:#0038a8;
    color:white;
    padding:20px;
    text-align:center;
    margin:0;
}

.detail-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 25px;
    border-bottom:1px solid #e5e5e5;
    font-size:18px;
}

.detail-row:nth-child(even){
    background:#f8f9fc;
}

.detail-row span:first-child{
    font-weight:600;
    color:#444;
}

.detail-row span:last-child{
    font-weight:bold;
    color:#111;
}

.status-badge{
    background:#d4f8d4;
    color:green;
    padding:10px 20px;
    border-radius:30px;
    font-weight:bold;
}

/* Appointment Time */

.time-value{
    color:green;
    font-size:24px;
    font-weight:bold;
}

/* Status */

.status-badge{
    background:#d4f8d4;
    color:green;
    padding:10px 25px;
    border-radius:30px;
    font-size:24px;
    font-weight:bold;
    border:2px solid green;
}

.time-value{
    color:green;
    font-size:40px;
    font-weight:700;
}

.status-badge{
    background: #d4f8d4;
    color: green;
    font-size:38px;
    font-weight: 700;
    padding:15px 35px;
    border-radius: 40px;
    border: 3px solid green;
}

    .reject-box{
    background:#ffe5e5;
    color:#d32f2f;
    padding:10px;
    margin-top:10px;
    border-radius:8px;
    font-weight:bold;
}


/* end present chek status style */

/* logout style */
.logout-btn{
    display:block;
    margin-top:20px;
    padding:10px;
    background:red;
    color:white;
    text-decoration:none;
    text-align:center;
    border-radius:8px;
    font-weight: bold;
}

/* end logout */

/* Admin Login */

.admin-body{
    background:#f4f7fc;
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
}

.admin-card{
    width:400px;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    text-align:center;
}

.admin-card h1{
    color:#0038a8;
    margin-bottom:25px;
}

.admin-card input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
}

.admin-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#0038a8;
    color:white;
    font-size:18px;
    cursor:pointer;
}

.admin-btn:hover{
    background:#002b80;
}

.admin-logo{
    font-size:40px;
    font-weight:bold;
    color:#0038a8;
    margin-bottom:15px;
}

/* end admin login */


/* admin dash bord stlye */

h1{
    text-align: center;
    margin: 20px 0;
    font-size: 40px;
    color: #27447d;
}

.admin-doctor-card{
    max-width: 900px;
    margin: 20px auto;
}

.admin-doctor-card{
    background:white;
    max-width:900px;
    margin:20px auto;
    padding:20px;
    border-radius:15px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);

    display:flex;
    gap:20px;
    align-items:flex-start;
}

.doctor-image{
    flex-shrink:0;
}

.doctor-image img{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

.doctor-info{
    flex:1;
}

.btn-box{
    display:flex;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap;
}

.approve-btn,
.reject-btn{
    display:inline-block;
    min-width:100px;
    text-align:center;
    padding:10px 15px;
    border-radius:8px;
    text-decoration:none;
    color:white;
}

.approve-btn{
    background:green;
}

.reject-btn{
    background:red;
}

@media(max-width:768px){

    .doctor-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .btn-box{
        justify-content:center;
    }
}

/* end admin style */

/* acept reject resion */

.accepted{
    background:#e8f5e9;
    color:#2e7d32;
    border:2px solid #2e7d32;
    padding:10px 18px;
    border-radius:25px;
    font-weight:bold;
}

.rejected{
    background:#ffebee;
    color:#d32f2f;
    border:2px solid #d32f2f;
    padding:10px 18px;
    border-radius:25px;
    font-weight:bold;
}

.pending{
    background:#fff8e1;
    color:#ff9800;
    border:2px solid #ff9800;
    padding:10px 18px;
    border-radius:25px;
    font-weight:bold;
}

.reject-box{
    margin-top:15px;
    padding:15px;
    background:#ffebee;
    color:#b71c1c;
    border-left:5px solid #d32f2f;
    border-radius:8px;
    font-size:18px;
    font-weight:600;
}

/* end acept reject */