        /* ================================
   RESET & BASE
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    font-size: 16px;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    background: #273c75;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar h2 {
    font-size: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
    font-size: 14px;
}


/* ================================
   CONTAINER
================================ */

.container {
    width: 95%;
    max-width: 1100px;
    margin: 20px auto;
}


/* ================================
   CARDS STATS
================================ */

.cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 140px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.card h3 {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    color: #273c75;
}


/* ================================
   SECTION
================================ */

.section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.section h3 {
    color: #273c75;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 16px;
}


/* ================================
   TABLE RESPONSIVE
================================ */

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

table th,
table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

table th {
    color: #888;
    font-size: 12px;
}


/* ================================
   BUTTONS
================================ */

.btn {
    background: #273c75;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #1e2f6e;
}

.btn-green {
    background: #27ae60;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.btn-delete {
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
}


/* ================================
   FORMS
================================ */

.form-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin: 30px auto;
}

.form-box h2 {
    color: #273c75;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #273c75;
}


/* ================================
   TUTOR CARDS
================================ */

.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tutor-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.tutor-card:hover {
    transform: translateY(-3px);
}

.tutor-card h3 {
    color: #273c75;
    margin-bottom: 10px;
}

.tutor-card p {
    color: #555;
    font-size: 14px;
    margin: 5px 0;
}


/* ================================
   HERO (index.html)
================================ */

.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #273c75, #1e3799);
    color: white;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #dde;
}

.hero-buttons a {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    margin: 5px;
    display: inline-block;
}

.btn-primary {
    background: #f9ca24;
    color: #273c75;
    font-weight: bold;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}


/* ================================
   FEATURES
================================ */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: #273c75;
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-card p {
    color: #888;
    font-size: 13px;
}


/* ================================
   STATS BAR
================================ */

.stats {
    background: #273c75;
    color: white;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 20px;
    flex-wrap: wrap;
    text-align: center;
}

.stats div h2 {
    font-size: 30px;
    color: #f9ca24;
}

.stats div p {
    font-size: 13px;
    color: #dde;
}


/* ================================
   PLANS ABONNEMENT
================================ */

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px 50px;
}

.plan {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.plan.free {
    border-top: 5px solid #ccc;
}

.plan.standard {
    border-top: 5px solid silver;
}

.plan.premium {
    border-top: 5px solid gold;
}

.plan h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 28px;
    font-weight: bold;
    color: #273c75;
    margin: 12px 0;
}

.plan ul {
    list-style: none;
    text-align: left;
    margin: 15px 0;
}

.plan ul li {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}


/* ================================
   STATUS COLORS
================================ */

.status-pending {
    color: orange;
    font-weight: bold;
}

.status-confirmed {
    color: green;
    font-weight: bold;
}

.status-completed {
    color: blue;
    font-weight: bold;
}

.status-cancelled {
    color: red;
    font-weight: bold;
}


/* ================================
   BADGES
================================ */

.badge-free {
    background: #eee;
    color: #333;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.badge-standard {
    background: silver;
    color: #333;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.badge-premium {
    background: gold;
    color: #333;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}


/* ================================
   FOOTER
================================ */

footer {
    text-align: center;
    padding: 20px;
    background: #1e2a4a;
    color: #aaa;
    font-size: 13px;
}


/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 480px) {

  /* Hero buttons */
  .hero-buttons a { display: block; margin: 8px auto; width: 80%; text-align: center; }

  /* Cards stats */
  .cards { gap: 10px; }
  .card  { min-width: 100px; }

  /* Navbar */
  .navbar h2 { font-size: 17px; }

}