/* University Widgets Styles */
.university-full-page-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    overflow-x: hidden;
}
/* Remove margin-top from the footer when this widget is on the page to prevent black gaps */
body:has(.university-full-page-wrapper) #footer {
    margin-top: 0 !important;
}
/* Force Elementor containers to have 0 padding so the dark background doesn't show through */
body:has(.university-full-page-wrapper) .e-con,
body:has(.university-full-page-wrapper) .e-con-inner,
body:has(.university-full-page-wrapper) .elementor-section {
    padding: 0 !important;
    gap: 0 !important;
}
.uni-section {
    width: 100%;
    position: relative;
}

/* Hero */
.uni-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #4f46e5 100%);
    color: #ffffff;
    padding: 80px 0 60px;
    overflow: hidden;
}
.uni-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}
.uni-hero-badge .material-symbols-outlined { font-size: 16px; }
.uni-hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.uni-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 32px;
}
.uni-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.uni-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1d4ed8;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.uni-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.uni-btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
}
.uni-btn-blue:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
.uni-hero-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.uni-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Features */
.uni-features { background: #ffffff; color: #0f172a; padding: 80px 0; }
.uni-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0e7ff;
    color: #4338ca;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.uni-section-badge .material-symbols-outlined { font-size: 16px; }
.uni-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.uni-section-subtitle {
    font-size: 15px;
    color: #475569;
    margin-bottom: 48px;
    line-height: 1.5;
}
.uni-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.2s ease;
    height: 100%;
}
.uni-card:hover { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }
.uni-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.uni-card-icon.purple { background: #ede9fe; color: #7c3aed; }
.uni-card-icon.green { background: #d1fae5; color: #059669; }
.uni-card-icon.blue { background: #dbeafe; color: #2563eb; }
.uni-card-title { font-size: 18px; font-weight: 700; color: #000000 !important; margin-bottom: 10px; }
.uni-card-text { font-size: 14px; color: #475569; line-height: 1.6; }

/* Banner */
.uni-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.uni-banner-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.uni-banner-subtitle { font-size: 16px; color: rgba(255, 255, 255, 0.85); position: relative; z-index: 1; }

/* Institutional */
.uni-institutional { background: #ffffff; color: #0f172a; padding: 80px 0; }
.uni-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #334155; line-height: 1.5; }
.uni-check .material-symbols-outlined { color: #059669; font-size: 20px; flex-shrink: 0; margin-top: -2px; }
.uni-check strong { color: #0f172a; font-weight: 600; }
.uni-arrow-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 14px; color: #334155; line-height: 1.6; }
.uni-arrow-item .material-symbols-outlined { color: #2563eb; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.uni-arrow-item strong, .uni-arrow-item b { color: #0f172a; font-weight: 600; }
.uni-inst-img { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.uni-inst-img img { width: 100%; height: 100%; object-fit: cover; }
.uni-subsection-title { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.uni-subsection-title .material-symbols-outlined { color: #7c3aed; font-size: 24px; }

/* CTA */
.uni-cta { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #4f46e5 100%); color: #ffffff; padding: 60px 0; text-align: center; }
.uni-cta-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.uni-cta-subtitle { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.uni-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .uni-hero { padding: 60px 0 40px; }
    .uni-hero-title { font-size: 30px; }
    .uni-hero-subtitle { font-size: 15px; }
    .uni-section-title { font-size: 26px; }
    .uni-banner-title { font-size: 22px; }
    .uni-cta-title { font-size: 24px; }
}

/* University Form Styles */
.eyekon-university-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}
.eyekon-uni-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.eyekon-uni-subtitle {
    font-size: 15px;
    color: #475569;
    margin-bottom: 24px;
}
.eyekon-uni-role-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.eyekon-uni-role-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}
.eyekon-uni-role-buttons {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}
.eyekon-uni-role-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.eyekon-uni-role-btn.active {
    background: #00e0e5;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.eyekon-uni-input-group {
    margin-bottom: 16px;
}
.eyekon-uni-email, .eyekon-uni-otp {
    width: 100%;
    max-width: 350px;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}
.eyekon-uni-email:focus, .eyekon-uni-otp:focus {
    border-color: #00e0e5;
}
.eyekon-uni-otp {
    text-align: center;
    font-size: 24px;
    letter-spacing: 4px;
    font-family: monospace;
    font-weight: bold;
}
.eyekon-uni-btn-primary {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    padding: 14px 24px;
    background-color: #00e0e5;
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.eyekon-uni-btn-primary:hover:not(:disabled) {
    background-color: #00c8cc;
    transform: translateY(-1px);
}
.eyekon-uni-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.eyekon-uni-email-display {
    font-weight: 600;
    color: #0f172a;
}
section.uni-section.uni-cta {
    margin-top: 70px;
}
