/* Maktab Dashboard Links Styling */

.maktab-dashboard-links-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

.maktab-section {
  margin-bottom: 50px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.maktab-title {
  font-size: 24px;
  color: #2c3e50;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #3498db;
  font-weight: 600;
}

.maktab-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-link-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px 20px;
  background: white;
  border: 2px solid #3498db;
  border-radius: 8px;
  text-decoration: none !important;
  color: #2c3e50;
  transition: all 0.3s ease;
  min-height: 120px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.dashboard-link-button:hover {
  background: #3498db;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
  border-color: #2980b9;
}

.link-icon {
  font-size: 32px;
  line-height: 1;
}

.link-label {
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}

/* Info and Error Messages */
.error-message,
.info-message {
  padding: 15px 20px;
  border-radius: 5px;
  margin: 20px 0;
  font-weight: 500;
}

.error-message {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.info-message {
  background-color: #eff;
  color: #3c3;
  border: 1px solid #cff;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* .maktab-links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  } */

  .maktab-section {
    padding: 15px;
    margin-bottom: 30px;
  }

  .maktab-title {
    font-size: 20px;
  }

  .dashboard-link-button {
    padding: 20px 15px;
    min-height: 100px;
  }

  .link-icon {
    font-size: 28px;
  }

  .link-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .maktab-dashboard-links-container {
    padding: 10px;
    margin: 20px auto;
  }

  .maktab-section {
    padding: 12px;
  }

  .maktab-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .dashboard-link-button {
    padding: 15px 10px;
    min-height: 90px;
    gap: 8px;
  }

  .link-icon {
    font-size: 24px;
  }

  .link-label {
    font-size: 12px;
  }
}
