/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://minc.ca
 Description:  Hello Elementor Child Theme for MINC Portal
 Author:       Your Name
 Author URI:   https://minc.ca
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Your custom styles go in minc-portal.css — keep this file for theme declaration only */




/* Prime User CSS */

.requesting-icon {
    background: rgba(36, 170, 226, 0.1);
    box-shadow: none;
}

.requesting-card {
    border: 2px solid #E5E7EB;
    border-radius: 24px;
}

.requesting-card p span {
    color: #24AAE2;
}

.current-prime-users-section .assign-icon {
    background: #2E31921A;
    box-shadow: none;
    border-radius: 16px;
}

.requesting-card .submission-icon {
    background: rgba(81, 161, 84, 0.1);
    box-shadow: none;
}

.note-section--heading .badge {
    border-radius: 10px;
    background: rgba(81, 161, 84, 0.1);
    color: #51A154;
}

.assign-notes {
    background: linear-gradient(90deg,
            rgba(46, 49, 146, 0.05) 0%,
            rgba(36, 170, 226, 0.05) 100%);
    border-left: 4px solid #2E3192;
}

.note-box-content .assign-icon {
    background: rgba(46, 49, 146, 0.1);
    box-shadow: none;
    padding: 12px;
}

.prime-user-card {
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #1D2433;
}

.prime-user-card .dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2E3192;
    transition: transform 0.3s ease;
}
.prime-user-card:hover .dot {
    transform: scale(1.25);
}
.prime-user-card:hover {
    color: #2E3192;
}
.requesting-mincs-section .requesting-icon {
    /* background: #24AAE21A; */
    box-shadow: none;
}

.requesting-mincs-section .submission-icon {
    background: #51A1541A;
    box-shadow: none;
}

/* resource page Ui  */
.docs-sec .docs-icon {
    background: #24AAE21A;
    box-shadow: none;
}
.docs-grid .requesting-card a:hover {
    color: #24AAE2;
    text-decoration: underline !important;
}
.docs-sec a {
    color: #24AAE2;
}

.docs-grid .requesting-card {
    border-radius: 24px;
    transition: transform 0.3s ease;
    border: 2px solid #ddd;
}

.national-org-section .prime-user-card {
    background: #F9FAFB;
    border-color: transparent;
}

.national-org-section .prime-user-card svg {
    margin-left: auto;
}

.national-org-section .prime-user-card:hover {
    background: #fff;
    border: 2px solid #2E3192;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.national-org-section .prime-user-card:hover .assign-icon {
    background-color: #2E3192;
}

.national-org-section .prime-user-card:hover .assign-icon svg path {
    stroke: #fff;
}

.national-org-section .prime-user-card:hover svg path {
    stroke: #2E3192;
}

.national-org-section .prime-user-card .assign-icon svg {
    width: 20px;
    height: 20px;
}

.national-org-section .prime-user-card .assign-icon {
    padding: 10px;
}

.docs-grid .requesting-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: #24AAE2;
    transition: 0.2s linear all;
}

.docs-grid .requesting-card:hover .docs-icon {
    transform: scale(1.1);
}

.docs-grid .requesting-card:hover h6 {
    color: #24AAE2;
}

/* licensed user page css  */
.org-row .dot {
    background: #24AAE2;
    font-weight: 500;
}

.current-licensed-section .prime-user-card {
    background: #F9FAFB;
    border: 0;
    color: #1E2939;
    font-weight: 400;
    transition: 0.2s linear all;
}

.university-row .dot {
    background: #51A154;
    font-weight: 500;
}

.current-licensed-section .prime-user-card:hover {
    background-color: oklch(96.7% 0.003 264.542);
}

.note-box-content p a {
    text-decoration: none;
    font-weight: 500;
}

.restriction-card {
    padding: 34px;
    border: 2px solid #E5E7EB;
    border-radius: 24px;
}

.restrictions-section p {
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: -0.44px;
    color: #364153;
}

.restriction-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.31px;
    color: #364153;
}

.about-us--section a.btn-primary-outline {
    background-color: #fff;
    color: var(--color-tertiary);
}

.contact-us {
    padding-bottom: 96px;
}

.contact-content a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-navigation ul.menu li a {
    text-decoration: none;
    transition: 0.2s linear all;
}

/* end licensed page  */



/* ── MINC Sync Admin Page
   File: assets/css/minc-sync-admin.css ── */

.minc-sync-wrap { max-width: 1200px; }

/* Cards */
.minc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0 24px;
}
@media (max-width: 960px) { .minc-cards { grid-template-columns: repeat(2,1fr); } }

.minc-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px 18px;
}
.minc-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    margin-bottom: 5px;
}
.minc-card-value {
    font-size: 22px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
    margin-bottom: 4px;
}
.minc-card-sub { font-size: 12px; color: #666; }

/* Manual Run */
.minc-run-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.minc-run-section .description { width: 100%; margin: 0; color: #666; }

/* Sections */
.minc-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 22px;
    margin-bottom: 24px;
}
.minc-section h2 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.minc-section h2 small { font-weight: 400; color: #888; }

/* Stats row */
.minc-stats-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.minc-stat {
    padding: 5px 14px;
    background: #f6f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.minc-stat-c { color: #2e7d32; border-color: #81c784; background: #f1f8f1; }
.minc-stat-u { color: #1565c0; border-color: #90caf9; background: #f0f4ff; }
.minc-stat-s { color: #666; }
.minc-stat-e { color: #c62828; border-color: #ef9a9a; background: #fff5f5; }

/* Log pre */
.minc-log-pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.6;
    max-height: 280px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}

/* Status badges */
.minc-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.minc-badge-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.minc-badge-failed  { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.minc-badge-partial { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }

/* Trigger badges */
.minc-trigger {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}
.minc-trigger-cron   { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.minc-trigger-manual { background: #fce4ec; color: #880e4f; border: 1px solid #f48fb1; }

/* Table column highlights */
.minc-col-c { color: #2e7d32; font-weight: 600; }
.minc-col-u { color: #1565c0; font-weight: 600; }
.minc-col-e { color: #c62828; font-weight: 600; }