head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>IMTIXAAN</title>
  
    /* General styles */
    body {
      font-family: 'Arial', sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 0;
    }

    /* Container for invoice */
    .invoice-container {
      max-width: 900px;
      margin: 20px auto;
      background-color: #ffffff;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Header style */
    .invoice-header {
      display: flex;
      align-items: center;
      background-color: #007bff;
      padding: 20px;
      border-radius: 10px;
      color: white;
    }

    .invoice-header img {
      width: 80px;
      height: auto;
      margin-right: 20px;
    }

    .invoice-header h2 {
      font-size: 28px;
      margin: 0;
    }

    /* Dropdown select styling */
    .dropdown-container {
      margin-top: 20px;
    }

    label {
      font-size: 16px;
      color: #555;
      margin-bottom: 5px;
    }

    select {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      border-radius: 8px;
      border: 1px solid #ccc;
      outline: none;
      background-color: #f9f9f9;
    }

    select:hover {
      border-color: #007bff;
    }

    /* Info section */
    .student-info, .payment-info {
      margin-top: 30px;
      display: none;
    }

    .student-info h3, .payment-info h3 {
      font-size: 20px;
      color: #007bff;
    }

    .student-info p, .payment-info p {
      font-size: 16px;
      color: #333;
      margin-bottom: 5px;
    }

    .student-info a {
      display: block;
      margin-top: 10px;
      color: #007bff;
      text-decoration: none;
      font-size: 16px;
    }

    .student-info a:hover {
      text-decoration: underline;
    }

    /* Payment table */
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }

    table th, table td {
      padding: 12px;
      text-align: center;
      font-size: 16px;
      border: 1px solid #ddd;
    }

    table th {
      background-color: #007bff;
      color: white;
    }

    table td {
      background-color: #f9f9f9;
    }

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      overflow: auto;
      padding-top: 60px;
    }

    .modal-content {
      background-color: #fff;
      margin: 5% auto;
      padding: 20px;
      border-radius: 10px;
      width: 400px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .modal h2 {
      text-align: center;
      color: #333;
    }

    .modal input {
      width: calc(100% - 24px); /* Ensure inputs have full width minus padding */
      padding: 12px;
      margin: 10px 0;
      font-size: 16px;
      border-radius: 8px;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }

    .modal button {
      background-color: #007bff;
      color: white;
      width: calc(100% - 24px); /* Ensure button has same width as inputs */
      padding: 12px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 10px;
      box-sizing: border-box;
    }

    .modal button:hover {
      background-color: #0056b3;
    }

    .modal .close {
      color: #aaa;
      font-size: 30px;
      font-weight: bold;
      position: absolute;
      right: 15px;
      top: 10px;
    }

    .modal .close:hover,
    .modal .close:focus {
      color: #000;
      text-decoration: none;
      cursor: pointer;
    }

    /* Button styles */
    button {
      background-color: #007bff;
      color: white;
      padding: 12px 20px;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 20px;
    }

    button:hover {
      background-color: #0056b3;
    }

  