/* University Course Manager Styles */
.ucm-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Sidebar Styles */
.ucm-sidebar {
  flex: 0 0 300px;
  height: fit-content;
  padding: 20px;
  border: 1px solid #edeef0;
  border-radius: 4px;
}
.apply_img {
  max-width: 150px !important;
}
.ucm-sidebar h3 {
  margin: 0 0 20px 0;
  font-size: 20px !important;
  font-weight: 600;
}

.ucm-filter-group {
  margin-bottom: 25px;
}

.ucm-filter-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}

.ucm-filter-group input[type="text"],
.ucm-filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: white;
  transition: border-color 0.3s ease;
}

.ucm-filter-group input[type="text"]:focus,
.ucm-filter-group select:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.ucm-checkbox {
  display: flex !important;
  align-items: center;
  margin-bottom: 10px !important;
  cursor: pointer;
  font-weight: normal !important;
}

.ucm-checkbox input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
}

.ucm-checkbox span {
  font-size: 14px;
  color: #555;
}
.university-courses .ucm-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.university-courses .ucm-search-box input {
  padding: 9px 12px !important;
}
/* Mobile Filters */
.filter-accordion {
  width: 100%;
  margin: auto;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-accordion-header {
  background: transparent;
  color: 212529;
  cursor: pointer;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.accordion-icon {
  transition: transform 0.3s ease;
}

.filter-accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.filter-accordion-content {
  display: none;
  padding: 20px;
  background: white;
  color: #212529;
  line-height: 1.6;
  border-top: 1px solid #ddd;
}

.filter-accordion-content.show {
  display: block;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
/* Main Content Styles */
.ucm-main {
  flex: 1;
}

.ucm-main h2 {
  margin: 0;
  font-size: 24px !important;
  color: #212529 !important;
  font-weight: 600;
}

.ucm-search-box {
  margin-bottom: 20px;
}

.ucm-search-box input {
  display: block !important;
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #181c32 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #e4e6ef !important;
  border-radius: 0.475rem !important;
}

.ucm-search-box input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.title-layout
{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	margin-bottom:20px;
}
.layout-btns
{
	display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.uc-grid-layout
{
	display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.uc-layout-btn
{
	padding: 3;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: Center;
    width: 33px;
    font-size: 20px;
}
.uc-grid-layout .ucm-card
{
	flex-direction:column;
	align-items:flex-start;
	justify-content:flex-start;
	margin-bottom:0px;
}
.uc-grid-layout .ucm-card .ucm-card-content 
{
    flex-direction: column;
    align-items: start;
}
.uc-grid-layout .ucm-card .ucm-card-actions
{
	flex-direction:row;
}
.uc-grid-layout .ucm-card-logo img 
{
	max-width: 200px;
}
/* Card Styles */
.ucm-card {
  background: white;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  gap: 1.4rem;
  border: 1px solid rgb(237, 238, 240);
  border-radius: 4px;
  box-shadow: #8987871a 0 4px 12px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.ucm-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.ucm-card-content {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.ucm-card-logo {
  flex-shrink: 0;
}

.ucm-card-logo img {
  width: 100%;
  max-width: 90px;
  height: auto;
  object-fit: contain;
}

.ucm-default-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

.ucm-card-info h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #212529;
  font-weight: 600;
  line-height: 1.3;
}

.ucm-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ucm-card-meta span {
  font-size: 13px;
  color: #212529;
  display: flex;
  align-items: center;
}

.ucm-location,
.ucm-offer,
.ucm-university,
.ucm-duration {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Button Styles */
.ucm-card-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ucm-btn {
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 14px !important;
  line-height: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 80px;
}

.ucm-btn-primary {
  background: #f75225;
  color: white !important;
}

.ucm-btn-primary:hover {
  box-shadow: 0 2px 4px rgba(44, 62, 80, 0.3) !important;
  border: 0 !important;
}

.ucm-btn-secondary {
  background: #08073d;
  color: white !important;
}

.ucm-btn-secondary:hover {
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* Loading State */
.ucm-loading {
  text-align: center;
  padding: 40px;
  color: #212529;
}

.ucm-loading:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* University Header */

.university-logo 
{
  flex-shrink: 0;
}
.university-logo img 
{
  	width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 0px;
    border: 2px solid #e9ecef;
}

.university-info h1 {
  font-size: 40px !important;
  color: #ffffff !important;
  margin-bottom: 10px;
  font-weight: 700 !important;
}

.toast {
  visibility: hidden;
  min-width: 250px;
  /* margin-left: -125px; */
  background: #4caf50;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 16px;
  position: absolute;
  z-index: 9999;
  /* top: 75%; */
  right: 10%;
  bottom: 0px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

.toast .close {
  margin-left: 20px;
  cursor: pointer;
  font-weight: bold;
}
.university-location {
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Navigation Tabs */
.nav-tabs {
  background: white;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.nav-tabs ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-tabs li {
  margin: 0;
}

.nav-tabs a {
  display: block;
  padding: 15px 25px;
  color: #212529 !important;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 400;
}
.nav-tabs a.active {
  background-color: #fff !important;
  font-weight: 700;
  color: #000000 !important;
  border-bottom: 3px solid rgb(33, 37, 41);
}
.nav-content {
  display: none;
  margin-bottom: 20px;
}
.nav-content.active {
  display: block;
}
/* Content Sections */
.content-section {
  background: white;
  margin-bottom: 20px;
}

.content-section h2 {
  font-size: 24px !important;
  color: #212529;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
  text-align: justify;
}

/* University Image */
.university-image {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  position: relative;
}

.play-button {
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 15px;
  border-radius: 4px;
  color: white;
  font-size: 14px;
}

/* Departments Section */
.departments-section {
  background: white;
  margin-bottom: 20px;
  border-radius: 8px;
}

.departments-header {
  margin-top: 25px;
}

.departments-header h2 {
  font-size: 24px !important;
  color: #212529;
  margin: 0;
  font-weight: 600;
}

.department-item {
  border-bottom: 1px solid rgb(237, 238, 240) !important;
}

.department-item:last-child {
  border-bottom: none;
}

.department-toggle {
  width: 100%;
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #212529; !important;
  font-weight: 400 !important;
  transition: background 0.3s ease;
}

.department-toggle:hover {
  background: #f8f9fa;
}

.department-icon {
  transition: transform 0.3s ease;
  font-size: 25px;
}
.department-toggle.active {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
}
.department-toggle.active .department-icon {
  transform: rotate(180deg);
}

.department-content {
  display: none;
  padding: 0 30px 20px;
}

.department-content.active {
  display: block;
}

.courses-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  overflow: hidden;
  border: 1px solid rgb(237, 238, 240);
}
.courses-table thead {
  background: #212529 !important;
}
.courses-table th {
  color: white;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
}
.courses-table td {
  background: white !important;
  color: #212529;
  border: 0;
  padding: 15px 20px;
  border-bottom: 1px solid rgb(237, 238, 240);
}

.courses-table tr:last-child td {
  border-bottom: none;
}

.courses-table tr:nth-child(even) td {
  background: #f8f9fa;
}
.container {
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
  background: white;
  padding: 15px 0;
  margin: 20px 0;
}

.breadcrumb a {
  color: #757474 !important;
  text-decoration: none;
  font-size: 14px !important;
}

.breadcrumb a:hover {
  color: #007cba;
}

.breadcrumb span {
  color: #212529;
  font-weight: 500;
}

/* Course and University Header */
.course-header,
.university-header {
  margin-bottom: 30px;
}

.course-header-content,
.university-header-content {
  display: flex;
  align-items: center;
  background: #08073d;
  padding: 30px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  gap: 20px;
}

.course-logo {
  flex-shrink: 0;
}

.course-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 0px;
    border: 2px solid #e9ecef;
}

.course-info {
  flex: 1;
  margin-left: 20px;
}
.apply-header .elementor-widget-container .elementor-shortcode
{
	width: 100px;
    height: 100px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #ffffff;
    object-fit: contain;
    border: 2px solid #e9ecef;
}
.apply-header .elementor-widget-container .elementor-shortcode img
{
	width:100%;
}
.course-info h1 {
  font-size: 40px !important;
  color: #ffffff !important;
  margin-bottom: 10px;
  font-weight: 700 !important;
}

.course-university {
  	color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apply-btn {
  border: 0 !important;
  margin-top: 15px;
}

.apply-btn:hover {
  background: #34495e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Course Details Section */
.course-details {
  background: white;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.section-header h2 {
  font-size: 30px !important;
  color: #212529;
  font-weight:700;
  margin-bottom: 0;
}
button#copyCourseBtn 
{
    border: 1px solid #6c757d !important;
}
.copy-btn {
  background-color: transparent !important;
  font-size: 14px !important;
  border: 4px !important;
  padding: 4px 8px !important;
  font-weight: 300;
  color: #6c757d !important;
}
.copy-btn:hover {
  background-color: #6c757d !important;
  color: #ffffff !important;
}
/* Detail Cards */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.video-container iframe {
    width: 100%;
    height: 100%;
}
.detail-card {
  background: #f8f9fa;
  display: flex;
  border-radius: 4px;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  padding: 15px;
  border: 1px solid #e9ecef;
}
.detail-info {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background:#08073d;
  border-radius: 6px;
  display: flex;
  padding: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.detail-label {
  font-size: 16px;
  color: #212529;
  text-transform: uppercase;
  font-weight: 500;
}

.detail-value {
  font-size: 15px;
  color: #212529;
  font-weight: 400;
}

/* Fees Tables */
.fees-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.fees-table {
  background: white;
  border-radius: 6px;
  overflow: hidden;
	font-size:16px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fees-table h3 {
  background: #08073d;
  color: #ffffff !important;
  padding: 15px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.fees-table table {
  width: 100%;
  font-size:16px !important;
  border-collapse: collapse;
}

.fees-table th {
  background: #f8f9fa;
  padding: 12px 20px;
  text-align: left;
  font-weight: 700;
  color: #000000;
  border-bottom: 1px solid #e9ecef;
}

.fees-table td {
  padding: 12px 20px;
  border: 0;
  background: #ffffff !important;
  color: #000000;
}
.fees-table th {
  padding: 12px 20px;
  border: 0;
  background: #ffffff !important;
}
.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table tr {
  border-bottom: 1px solid #efefef;
  background: #ffffff !important;
}

/* Content Sections */
.content-section {
  background: white;
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 18px;
  color: #212529;
  margin: 25px 0 15px;
  font-weight: 600;
}

.content-section h4 {
  font-size: 16px;
  color: #212529;
  margin: 20px 0 10px;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
}

.content-section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
  color: #555;
}

/* Curriculum Sections */
.curriculum-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f3f5;
}

.curriculum-item:last-child {
  border-bottom: none;
}

.curriculum-item h4 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.curriculum-item ul {
  columns: 2;
  column-gap: 30px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Empty State */
.ucm-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #212529;
}

.ucm-empty-state h3 {
  margin: 0 0 10px 0;
  color: #212529;
}

.ucm-empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Filter Reset Button */
.ucm-filter-reset {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 0;
  width: 100%;
  transition: background 0.3s ease;
}

.ucm-filter-reset:hover {
  background: #c0392b;
}

/* Custom Scrollbar for Sidebar */

.ucm-sidebar::-webkit-scrollbar {
  width: 6px;
}

.ucm-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.ucm-sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.ucm-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
.m-container {
  flex-direction: column;
  padding: 15px;
}
.ucm-card-actions {
  justify-content: center;
}

/* Responsive Design */

@media (max-width: 991px) {
  .ucm-sidebar {
    flex: 0 0 240px;
  }
  .university-info h1,
  .course-info h1 
  {
    font-size: 30px !important;
  }
}
@media (max-width: 768px) {
 

  .nav-tabs ul {
    flex-wrap: wrap;
  }

  .nav-tabs a {
    padding: 12px 15px;
    font-size: 14px;
  }

  .university-image,
  .video-container {
    height: 250px;
  }

  .courses-table {
    font-size: 14px;
  }

  .courses-table th,
  .courses-table td {
    padding: 10px 15px;
  }
  .ucm-card-content {
    margin-bottom: 15px;
  }

  .ucm-card-actions {
    justify-content: space-between;
  }

  .fees-section {
    grid-template-columns: 1fr;
  }

  .curriculum-item ul {
    columns: 1;
  }
}
@media (max-width: 767px) 
{
  .university-info h1,
  .course-info h1 
  {
	  font-size:30px !important;
	  margin-bottom: 10px;
	  font-weight: 700 !important;
  }
  .university-header-content,
  .course-header-content 
  {
	  flex-direction: column;
	  align-items:start;
	  text-align: left;
  }
  .uc-grid-layout
  {
		grid-template-columns: repeat(1, 1fr);
  }
  .ucm-card-logo img
	{
		max-width:200px;
	}
  .course-info {
    margin-left: 0;
    text-align: left;
  }
	.course-info .apply-btn
	{
		margin-top:15px;
	}
  .ucm-card {
    flex-direction: column;
    align-items: start;
  }
  .ucm-card-actions {
    flex-direction: row;
    justify-content: start;
  }
  .ucm-container {
    flex-direction: column !important;
  }
  .ucm-sidebar {
    display: none;
  }
  .ucm-accordion {
    display: block;
  }
  .university-courses .ucm-filters {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 20px;
  }
  .university-courses .ucm-filter-group,
  .university-courses .ucm-search-box {
    margin-bottom: 0;
  }
}
@media (max-width: 580px) {
  .container {
    padding: 0 15px;
  }

  .university-info h1 {
    font-size: 22px;
  }

  .department-toggle {
    padding: 15px 20px;
    font-size: 15px;
  }

  .department-content {
    padding: 0 20px 15px;
  }
  .course-info h1 {
    font-size: 22px;
  }

  .detail-cards {
    grid-template-columns: 1fr;
  }
  .ucm-card-content {
	align-items: start;
    flex-direction: column;
  }

  .ucm-card-logo {
    margin-right: 0;
    margin-bottom: 0px;
  }


  .ucm-card-actions {
    flex-direction: row;
    gap: 8px;
  }

  .ucm-btn {
    margin: 0;
  }
  .course-info h1 {
    font-size: 22px;
  }

  .detail-cards {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) {
  .ucm-card-actions {
    flex-direction: column;
  }
  .filter-accordion {
    display: none;
  }
}
@media(min-width: 1400px)
{
	.container
	{
		width:1320px;
	}
}
