/* ======================================================
   Wrapper
====================================================== */
.wc-course-compare-wrapper-custom {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
}
.mybtnfor-compare{
    background-color:#004aac!important;
    color:white!important;
}

/* ======================================================
   Select Row
====================================================== */
.wc-compare-selects-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 0px!important;
}

.wc-compare-selects-custom .wc-compare-button {
    background-color: #ffd30f;
    padding: 10px 60px;
    color: #ff7a00;
    font-weight: 600;
    font-size: large;
    border-radius: 30px;
}

.wc-compare-selects-custom .wc-compare-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

/* ======================================================
   Table Container
====================================================== */
#wc-compare-result {
    overflow-x: auto;
}

/* ======================================================
   Compare Table
====================================================== */
.wc-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    margin-top:10px!important;
}

/* ======================================================
   Table Head
====================================================== */
.wc-compare-table thead th {
    background: linear-gradient(135deg, #004aac, #043272);
    color: #fff;
    padding: 9px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    position: sticky;
    top: 0;
    text-align:left!important;
    z-index: 10;
}

.wc-compare-table thead th:first-child {
    text-align: left;
    min-width: 200px;
}

/* University Name */
.wc-compare-table thead th small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

/* ======================================================
   Table Body
====================================================== */
.wc-compare-table tbody tr {
    transition: background 0.2s ease;
}

.wc-compare-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.wc-compare-table tbody tr:hover {
    background: #eef2ff;
}

/* Feature Column */
.wc-compare-table tbody td:first-child {
    font-weight: 600;
    color: #111827;
    background: #f1f5f9;
    position: sticky;
    left: 0;
    z-index: 5;
}

/* All Cells */
.wc-compare-table td {
    padding: 16px;
    text-align: left!important;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

/* ======================================================
   Highlight Differences (auto)
====================================================== */
.wc-compare-table tbody tr td:not(:first-child) {
    position: relative;
}

.wc-compare-table tbody tr td:not(:first-child):not(:empty) {
    font-weight: 500;
}

/* ======================================================
   Loading State
====================================================== */
#wc-compare-loading {
    font-size: 18px;
    font-weight: 600;
    color: #4f46e5;
}

/* ======================================================
   Mobile Responsive
====================================================== */
@media (max-width: 768px) {

    .wc-compare-selects-custom {
        flex-direction: column;
        align-items: stretch;
    }

    .wc-compare-selects-custom .wc-compare-select,
    .wc-compare-selects-custom .button {
        width: 100% !important;
    }

    .wc-compare-table {
        font-size: 13px;
    }

    .wc-compare-table thead th {
        font-size: 13px;
    }
}

.uni-select-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uni-select-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Logo directly above select */
.uni-logo {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 6px;
}

/* When logo has src, show it */
.uni-logo[src]:not([src=""]) {
  display: block;
}

/* Keep select centered */
.uni-select-wrap select {
  width: 100%;
}

