.course-table {
	width: 97%;
	border-collapse: collapse;
	margin-top: 20px;
	margin-left:16px;
}

.course-table th, .course-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.course-table th {
	background-color: #f2f2f2;
	font-weight: bold;
}

.course-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

.course-table tr:hover {
	background-color: #ddd;
}

.total-row {
  font-weight: bold;
  background-color: #f0f8ff; /* Light blue background */
  border-top: 2px solid #ccc;
  font-size: 16px;
  padding: 8px;
}

.course-heading {
color: var(--strong-blue); 
font-family: Arial, sans-serif;
font-size: var(--font-size-h4); 
font-weight:var(--font-weight-semibold);
margin-bottom:8px;
text-align: center;
}

.course-buttons {
background-color: var(--strong-blue);
color: white;
padding: 8px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
max-width: 250px; /* Set a maximum width for the button */
margin-top: 8px;
}

.course-buttons:disabled {
    background-color: grey;
    cursor: not-allowed;
    opacity: 0.6;
}

.course-buttons:hover {
background-color: var(--hover-butn-for-strong-blue);
}

.modal {
    position: fixed;
    border-radius: 15px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);   
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Modal Title */
.modal-content h3 {
    color: #1d3557; /* Deep blue for strong heading */
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Modal Message */
.modal-content p {
    color: #444; /* Dark gray for readable message text */
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 15px;
}

.modal-button {
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    background-color: #178abf;      /* Bluish green */
    color: #fff;                    /* White text */
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.modal-button:hover {
    background-color: #1273a6;     /* Slightly darker on hover */
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adds space between buttons */
    margin-top: 10px;
}


/* ======================= Standard Laptops (max-width: 1280px) ======================= */
@media (min-width: 1920px) {

    .course-heading {
        font-size: 22px;
    }
    
    .course-table th, .course-table td {
      font-size:20px;
      padding: 7px;
    }
    
    .total-row {
      font-size: 20px;
      padding: 10px;
    }

    .course-buttons {
      font-size:20px;
      padding: 7px;
    }
  
    .modal-content {
      width: 90%;
      font-size:20px;
      padding: 16px;
    }

    .modal-content h3 {
      font-size:22px;
    }

    .modal-content p {
      font-size:20px;
    }
  
    .modal-button {
     font-size:20px;
    }
}

/* ======================= Standard Laptops (max-width: 1280px) ======================= */
@media (max-width: 1280px) {
    .course-table {
      width: 97%;
      margin-left: 8px;
    }
  
    .course-heading {
        font-size: 18px;
    }

    .total-row {
      font-size: 15px;
      padding: 7px;
    }
    
    .course-table th, .course-table td {
      font-size:16px;
      padding: 7px;
    }
    
    .course-buttons {
      font-size:16px;
      padding: 7px;
    }
  
    .modal-content {
      width: 90%;
      font-size:16px;
      padding: 16px;
    }

    .modal-content h3 {
      font-size:18px;
    }

    .modal-content p {
      font-size:16px;
    }
  
    .modal-button {
      font-size:16px;
    }
}

/* ======================= Small Laptops (max-width: 1024px) ======================= */
@media (max-width: 1024px) {
    .course-table {
      width: 97%;
      margin-left: 4px;
    }
  
    .course-heading {
        font-size: 16px;
    }

    .total-row {
      font-size: 14px;
      padding: 6px;
    }
    
    .course-table th, .course-table td {
      font-size:14px;
      padding: 6px;
    }
    
    .course-buttons {
      font-size:14px;
      padding: 6px;
      max-width: 100%; /* Allow full width on smaller screens */
    }
  
    .modal-content {
      width: 90%;
      font-size:14px;
      padding: 16px;
    }

    .modal-content h3 {
      font-size:16px;
    }

    .modal-content p {
      font-size:14px;
    }
  
    .modal-button {
        font-size:14px;
    }
  }


