/**
 * Ecole LIVE DZ – Nominate & Invite Teacher Frontend Styles
 * 100% Arabic & RTL Ready with Tajawal Typography
 */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

/* Style Isolation & Base Reset */
.ecole-nominate-wrapper {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
    color: #0f172a;
    background-color: #f8fafc;
    line-height: 1.6;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ecole-nominate-wrapper *,
.ecole-nominate-wrapper *::before,
.ecole-nominate-wrapper *::after {
    box-sizing: border-box !important;
    font-family: inherit;
}

.ecole-nominate-wrapper p:empty,
.ecole-nominate-wrapper br {
    display: none !important;
}

/* Full Width Support */
.ecole-nominate-wrapper.ecole-full-width {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* TOP HEADER */
.ecole-top-header {
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ecole-header-inner {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ecole-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ecole-brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #022c22;
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.ecole-brand-title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}
.ecole-brand-sub {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

/* NAV TABS */
.ecole-nav-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid #334155;
}
.ecole-tab-btn {
    border: none;
    background: transparent;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.ecole-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.ecole-tab-btn.active {
    background: #0f172a;
    color: #10b981;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.ecole-tab-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 800;
}
.ecole-tag-green { background: #064e3b; color: #6ee7b7; }
.ecole-tag-blue  { background: #1e3a8a; color: #93c5fd; }

/* TAB CONTENTS */
.ecole-tab-content {
    display: none;
}
.ecole-tab-content.active {
    display: block;
    animation: ecoleFadeIn 0.3s ease;
}
@keyframes ecoleFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION */
.ecole-hero-section {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #022c22 100%);
    color: #ffffff;
    padding: 64px 20px 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.ecole-hero-ambient-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.ecole-hero-ambient-2 {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    pointer-events: none;
}
.ecole-hero-inner {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.ecole-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}
.ecole-badge-emerald {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}
.ecole-hero-heading {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.ecole-hero-lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* TEACHER STATS CARD IN HERO */
.ecole-teacher-stat-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 24px;
    text-align: right;
    max-width: 820px;
    margin: 0 auto 36px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}
.ecole-stat-card-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ecole-stat-card-info {
    flex: 1;
    min-width: 260px;
}
.ecole-stat-card-tag-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.ecole-stat-card-tag {
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}
.ecole-teacher-selector {
    background: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    outline: none !important;
    cursor: pointer !important;
}
.ecole-teacher-stat-title {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
}
.ecole-highlight-name {
    color: #34d399;
}
.ecole-teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ecole-tag-item {
    background: #334155;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.ecole-nominations-pill-box {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    border: 1px solid #059669;
    border-radius: 14px;
    padding: 16px 24px;
    text-align: center;
    min-width: 200px;
}
.ecole-pill-top-label {
    font-size: 11px;
    color: #a7f3d0;
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}
.ecole-pill-count {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}
.ecole-pill-bottom-sub {
    font-size: 13px;
    color: #34d399;
    font-weight: 800;
    display: block;
    margin-top: 4px;
}
.ecole-stat-card-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #334155;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
}
.ecole-stat-card-footer p {
    margin: 0;
}
.ecole-teacher-page-link {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
.ecole-teacher-page-link:hover {
    text-decoration: underline !important;
}

/* HERO ACTIONS */
.ecole-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.ecole-btn-join {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.ecole-btn-join:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.6) !important;
}
.ecole-btn-goto-nominate {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.ecole-btn-goto-nominate:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}
.ecole-btn-lg {
    font-size: 1.25rem !important;
    padding: 16px 40px !important;
}

/* BENEFITS SECTION */
.ecole-benefits-section {
    padding: 72px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.ecole-section-inner {
    margin: 0 auto;
}
.ecole-section-heading-wrap {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.ecole-sub-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
}
.ecole-section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px;
}
.ecole-section-desc {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}
.ecole-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.ecole-benefit-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ecole-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
.ecole-benefit-number {
    width: 32px;
    height: 32px;
    background: #10b981;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 14px;
}
.ecole-benefit-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.ecole-benefit-desc {
    font-size: 0.95rem;
    color: #475569;
    margin: 0 0 16px;
    line-height: 1.6;
}
.ecole-benefit-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #059669;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

/* BOTTOM CTA */
.ecole-bottom-cta-section {
    background: #f1f5f9;
    padding: 64px 20px;
    text-align: center;
}
.ecole-cta-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px;
}
.ecole-cta-desc {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto 28px;
}
.ecole-cta-note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 14px;
}

/* TAB 2: NOMINATE HEADER */
.ecole-nominate-header-section {
    background: #ffffff;
    padding: 48px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.ecole-nominate-header-inner {
    margin: 0 auto;
}
.ecole-nominate-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px;
}
.ecole-nominate-main-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* 3 METHODS GRID */
.ecole-methods-section {
    padding: 48px 20px 72px;
}
.ecole-methods-intro-bar {
    text-align: center;
    margin-bottom: 36px;
}
.ecole-methods-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.ecole-methods-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}
.ecole-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
@media (max-width: 1024px) {
    .ecole-methods-grid {
        grid-template-columns: 1fr;
    }
}
.ecole-method-col {
    display: flex;
    flex-direction: column;
}
.ecole-method-header-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.ecole-badge-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ecole-num-emerald { background: #10b981; }
.ecole-num-dark    { background: #1e293b; }
.ecole-num-teal    { background: #0284c7; }

.ecole-method-col-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

/* FORMS AND CARDS */
.ecole-form-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ecole-box-header {
    margin-bottom: 18px;
}
.ecole-box-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.ecole-box-sub {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.ecole-input-group {
    margin-bottom: 14px;
}
.ecole-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}
.ecole-required {
    color: #ef4444;
}
.ecole-field-hint {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 8px;
}
.ecole-text-input {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}
.ecole-text-input:focus {
    border-color: #10b981 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

/* Contacts dynamic row */
.ecole-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
.ecole-contact-item {
    display: flex;
    gap: 6px;
}
.ecole-select-contact {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    font-size: 12px !important;
    color: #334155 !important;
    font-weight: 700 !important;
    outline: none !important;
    min-width: 110px !important;
}
.ecole-contact-input {
    flex: 1;
}
.ecole-btn-remove-contact {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    font-weight: 900 !important;
}
.ecole-btn-outline-small {
    border: 1px dashed #cbd5e1 !important;
    background: #f8fafc !important;
    color: #059669 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: center !important;
    transition: background 0.2s !important;
}
.ecole-btn-outline-small:hover {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
}

.ecole-btn-submit-main {
    width: 100% !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
    margin-top: 10px !important;
}
.ecole-feedback-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}
.ecole-feedback-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.ecole-feedback-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* READY MESSAGE BOX */
.ecole-message-box-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    max-height: 380px;
    overflow-y: auto;
}
.ecole-message-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit !important;
    font-size: 13px;
    line-height: 1.7;
    color: #334155;
}
.ecole-btn-copy-main {
    width: 100% !important;
    background: #1e293b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: background 0.2s !important;
}
.ecole-btn-copy-main:hover {
    background: #0f172a !important;
}
.ecole-copy-hint {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

/* 3D DIGITAL CARD */
.ecole-3d-stage {
    perspective: 1000px;
    width: 100%;
    height: 340px;
    cursor: pointer;
    margin-bottom: 18px;
}
.ecole-3d-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 20px;
}
.ecole-3d-card-inner.is-flipped {
    transform: rotateY(180deg);
}
.ecole-card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.ecole-card-front {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 60%, #064e3b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.ecole-card-back {
    background: linear-gradient(135deg, #022c22 0%, #0f172a 70%, #090d16 100%);
    color: #ffffff;
    transform: rotateY(180deg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
}
.ecole-card-glow-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    pointer-events: none;
}
.ecole-card-glow-2 {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.ecole-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.ecole-card-brand-badge {
    width: 30px;
    height: 30px;
    background: #10b981;
    color: #022c22;
    font-weight: 900;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.ecole-card-school-name {
    font-weight: 900;
    font-size: 16px;
    color: #ffffff;
}
.ecole-card-mid {
    position: relative;
    z-index: 2;
}
.ecole-card-front-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #34d399;
    margin: 0 0 8px;
}
.ecole-card-front-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}
.ecole-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    position: relative;
    z-index: 2;
}
.ecole-card-flip-prompt {
    color: #6ee7b7;
    font-weight: 700;
}

/* Card Back QR */
.ecole-card-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}
.ecole-card-back-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}
.ecole-qr-container {
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 126px;
}
.ecole-qr-image,
.ecole-qr-container canvas,
.ecole-qr-container svg {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px;
    max-height: 110px;
    display: block;
    border-radius: 4px;
    margin: 0 auto;
}
.ecole-card-back-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    max-width: 240px;
}

/* CARD ACTION BUTTONS */
.ecole-card-action-bar {
    display: flex;
    gap: 8px;
}
.ecole-btn-card-action {
    flex: 1;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: opacity 0.2s !important;
}
.ecole-btn-card-action:hover {
    opacity: 0.9 !important;
}
.ecole-btn-flip     { background: #1e293b !important; color: #ffffff !important; }
.ecole-btn-download { background: #0284c7 !important; color: #ffffff !important; }
.ecole-btn-pdf      { background: #475569 !important; color: #ffffff !important; }

/* FOOTER */
.ecole-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 20px 30px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
}
.ecole-footer-inner {
    margin: 0 auto;
}
.ecole-footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.ecole-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ecole-footer-badge {
    width: 28px;
    height: 28px;
    background: #10b981;
    color: #022c22;
    font-weight: 900;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.ecole-footer-name {
    font-weight: 800;
    color: #ffffff;
    font-size: 16px;
}
.ecole-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}

/* Dedicated Teacher Landing Page */
.ecole-dedicated-teacher-body {
    background-color: #0f172a;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.ecole-public-teacher-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}
.ecole-public-teacher-hero {
    text-align: center;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 24px;
    padding: 48px 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

/* FLOATING QUICK BADGE / WIDGET */
.ecole-floating-badge {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
    direction: rtl !important;
    font-family: 'Tajawal', sans-serif !important;
}
.ecole-floating-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(16, 185, 129, 0.5) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}
.ecole-floating-btn:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(16, 185, 129, 0.9) !important;
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
}
.ecole-floating-icon {
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5) !important;
    flex-shrink: 0 !important;
}
.ecole-floating-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: right !important;
    line-height: 1.25 !important;
}
.ecole-floating-main {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}
.ecole-floating-desc {
    font-size: 11px !important;
    color: #34d399 !important;
    font-weight: 600 !important;
}
.ecole-floating-pulse {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
    animation: ecolePulse 2s infinite !important;
}
@keyframes ecolePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@media (max-width: 640px) {
    .ecole-floating-badge {
        bottom: 16px !important;
        right: 16px !important;
    }
    .ecole-floating-desc {
        display: none !important;
    }
    .ecole-floating-btn {
        padding: 8px 14px !important;
        gap: 8px !important;
    }
}

/* HOMEPAGE EMBEDDED SECTION */
.ecole-homepage-embedded-section {
    margin: 50px auto 30px !important;
    padding: 24px 0 0 !important;
    position: relative !important;
    clear: both !important;
    direction: rtl !important;
}
.ecole-embed-header {
    text-align: center !important;
    margin-bottom: 24px !important;
}
.ecole-embed-badge {
    display: inline-block !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    padding: 4px 14px !important;
    border-radius: 9999px !important;
    margin-bottom: 8px !important;
}
.ecole-embed-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}
.ecole-embed-sub {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 auto !important;
    max-width: 600px !important;
}
