/* assets/style.css - basic UI styling inspired by user's images */
* { box-sizing: border-box; }


.container-payment {
    /*max-width: 920px;*/
    margin:40px auto;
    }
.container-payment.large { 
    /*max-width: 920px; */
    display: flex;
    justify-content: center;    /* horizontal center */ 
    align-items: center;
}
.card-payment {
    background:#fff; 
    border-radius:6px; 
    padding:28px; 
    box-shadow: 0 6px 22px rgba(100,115,255,0.08); 
    border-top:4px solid #115d8f; 
     width: 920px; 
    
}
.loginn{
   width: 450px;   
}
h2 { 
    margin-top:0;
    color:#465462;
    }
.form-payment label { display:block; margin:8px 0 6px; font-size:13px; color:#6b6f76; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width:100%; padding:12px; border:1px solid #e6e9f5; border-radius:6px; outline:none; font-size:14px;
}
textarea { min-height:80px; resize:vertical; }
.row-payment { display:flex; gap:18px; }
.col-payment { flex:1; }
.btn-payment { display:inline-block; background:#115d8f; color:#fff; padding:12px 18px; border-radius:8px; border:none; cursor:pointer; text-decoration:none; text-align:center; margin-top: 20px;}
.small-payment { font-size:13px; color:#7b8088; margin-top:14px; }
.row-justify-payment { display:flex; justify-content:space-between; align-items:center; margin:12px 0; }
/*.checkbox1 input { margin-right:6px; color:#7b8088;}*/
.checkbox1 input[type="checkbox"] { 
    display: inline-block;
    visibility: visible; 
    width: 16px;
    height: 16px; 
    accent-color: #7b8088; /* optional: sets tick color */
    margin-right: 6px; 
    
}
/*.social { text-align:center; margin:12px 0 6px; color:#9aa0aa; font-size:12px; }*/
 .social-row-payment { display:flex; gap:12px; margin-top: 20px;}
.social-btn-payment { flex:1; padding:10px; border-radius:6px; text-align:center; color:#fff; }

.forgot { font-size:13px; color:#6b6f76; text-decoration:none; }
a { color:#000; }
@media (max-width:700px) {
    .row-payment { flex-direction:column; }
    .container-payment.large { padding:0 12px; }
}

.social-btn-payment.google {
    background: #dbdbdb;
    color: #444;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.social-btn-payment.google img {
    width: 20px;
    height: 20px;
}


/* ================= Dashboard Wrapper ================= */
.dashboard {
    display: flex;
}

/* ================= LEFT SIDEBAR ================= */
.sidebar {
    width: 223px;
    background: #242424;
    border-right: 1px solid #eee;
    padding: 0px 0;
    height: 100vh;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px 25px;
    font-size: 14px;
    color: #fff;
    background-color: rgb(245 168 32);
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: 0.3s;
    margin:4px ;
    border-radius: 6px;
    font-weight: 500;
}

.sidebar ul li:hover,
.sidebar ul li.active {
    color: #333;
}

.sidebar ul li.logout {
    margin-top: 40px;
    color: crimson;
}

/* ================= RIGHT CONTENT ================= */
.content {
    flex: 1;
    display: block;
    padding: 40px 60px;
}
/* TOP HEADER */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
    margin-bottom: 38px;
}

.page-title {
    margin: 0;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

/* Logout Button */
.logout-btn {
    /* background: crimson; */
    padding: 8px 16px;
    border-radius: 5px;
    color: #000000;
    text-decoration: none;
    font-size: 19px;
    transition: 0.3s;
}

/* .logout-btn:hover {
    background: #a30000;
} */


.content h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 40px;
}

.profile-box p {
    font-size: 18px;
    margin-bottom: 15px;
}

.profile-box strong {
    font-weight: 600;
    margin-right: 10px;
}

/* ================= BUTTONS ================= */
.btn-row {
    margin-top: 40px;
}

.btn {
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    margin-right: 20px;
    font-size: 15px;
}

.btn.edit {
    background: rgb(245 168 32);
    border: 1px solid rgb(245 168 32);
}

.btn.delete {
    background: rgb(245 168 32);;
}


/* Smooth slide-in animation */
.slide-in {
    animation: slideIn 0.5s ease;
        /* background-color: #aecee7; */
}

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

/* Loader styling */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: crimson;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 80px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Course Table */
.course-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.course-table th,
.course-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}

.course-table th {
    background: rgb(245 168 32);
    text-align: left;
    font-weight: 600;
        color: #fff;
}

.apply-btn {
    background: #115d8f;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #000000;
}
/* Odd-even row colors */
.course-table tbody tr:nth-child(odd) {
    background: #f9f9f9; /* Light grey */
}

.course-table tbody tr:nth-child(even) {
    background: #ffffff; /* White */
}

/* Row hover effect (optional but looks good) */
.course-table tbody tr:hover {
    background: #aecee757;      /* Light red shade on hover */
    transition: 0.2s;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .dashboard {
    display: block !important; /* override flex */
    width: 100%;
  }

  .sidebar {
    display: block;
    width: 100%;
    height: auto; /* allow natural height */
    padding: 10px 0;
  }

  .sidebar ul {
    display: flex;
    overflow-x: unset;
    white-space: normal;
  }

  .sidebar ul li {
    display: block;
    width: 100%;
    margin: 4px 5px;
    padding: 12px 20px;
    font-size: 15px;
  }

  .content {
    display: block;
    width: 100%;
    padding: 20px;
  }
  .hide-class { display: none !important; }
}

/*addd*/
@media (max-width: 768px) {

    .course-table {
        width: 100%;
        font-size: 15px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .course-table table {
        width: 100%;
        min-width: 600px;
    }

    
    .course-table td {
        padding: 12px;
        font-size: 14px;
        white-space: nowrap;
        display:block;
    }
.course-table th{
    display:none;
}
    .apply-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}


/*otp*/
 .otp-timer {
            margin-top: 12px;
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            color: #115d8f;
        }
        .otp-expired {
            color: red;
        }
 /* ================= Title  Banner================= */       
.title-banner {
  background-color: #115d8f1f; /* light green */
  padding: 20px;
  text-align: center;
  /*border-radius: 8px;*/
  margin-bottom: 30px;
  /*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
}

.title-banner h1 {
  font-family: 'Georgia', serif;
  font-size: 3rem;
  color: #115d8f; /* dark green text */
  margin: 0;
  font-weight: 500;
}
.loginn{
    
}
        
        



