/* ============================================================
   SPONSORSHIP ENTERPRISE MODULE - Custom Styles
   Replicates the Microsoft Event Sponsorship Page Design
   ============================================================ */

/* ---- General ---- */
.sponsorship-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
}

.sponsorship-page h1,
.sponsorship-page h2,
.sponsorship-page h3,
.sponsorship-page h4 {
    font-weight: 600;
}

/* ---- Buttons ---- */
.sp-btn-primary {
    background-color: #0078d4;
    border-color: #0078d4;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sp-btn-primary:hover {
    background-color: #106ebe;
    border-color: #106ebe;
    color: #fff;
    text-decoration: none;
}

.sp-btn-outline {
    background: transparent;
    border: 2px solid #0078d4;
    color: #0078d4;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-btn-outline:hover {
    background-color: #0078d4;
    color: #fff;
    text-decoration: none;
}

/* ---- Links ---- */
.sp-link-arrow {
    color: #0078d4;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.sp-link-arrow:hover {
    color: #106ebe;
    text-decoration: none;
}

.sp-text-link {
    color: #0078d4;
    text-decoration: underline;
}

.sp-text-link:hover {
    color: #106ebe;
}

/* ============================================================
   SECTION 1: HERO BANNER
   ============================================================ */
.sp-hero-section {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background-color: #0f1c3f !important;
}

.sp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f1c3f !important;
    z-index: 0;
}

.sp-hero-overlay {
    display: none !important;
}

.sp-hero-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
}

.sp-hero-title {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 auto;
}

.sp-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.6;
    max-width: 680px;
    margin: 16px auto 0;
}

/* ============================================================
   SECTION 2: IMPACT BY THE NUMBERS
   ============================================================ */
.sp-impact-section {
    background: #fff;
}

.sp-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.sp-section-subtitle {
    font-size: 18px;
    font-weight: 400;
}

.sp-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-benefits-list li {
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.sp-check-icon {
    color: #0078d4;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.sp-impact-image-wrapper,
.sp-whatitlooks-image-wrapper {
    width: 100%;
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.sp-impact-placeholder,
.sp-whatitlooks-placeholder {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f4ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px dashed #c8d8e8;
}

/* ============================================================
   SECTION 3: STATISTICS BAR
   ============================================================ */
.sp-stats-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.sp-stats-floating-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 36px 48px;
    margin: 0 auto;
}

.sp-stat-col {
    padding: 0 20px;
}

.sp-stat-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.sp-stat-bar {
    width: 3px;
    height: 38px;
    background-color: #00bcf2;
    border-radius: 2px;
    margin-right: 12px;
    display: inline-block;
    flex-shrink: 0;
}

.sp-stat-number {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.sp-stat-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

/* ============================================================
   SECTION 4: TESTIMONIAL QUOTE
   ============================================================ */
.sp-quote-section {
    background: #f5f5f5;
    border-top: 1px solid #eaeaea;
}

.sp-blockquote {
    border: none;
    padding: 0;
    margin: 0;
}

.sp-quote-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    font-style: italic;
}

.sp-quote-author {
    font-size: 15px;
    color: #555;
}

/* ============================================================
   SECTION 5: EVENT CARDS
   ============================================================ */
.sp-events-section {
    background: #f9f9f9;
}

.sp-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sp-event-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.sp-event-img-wrapper {
    width: 100%;
    height: 185px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
}

.sp-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sp-event-card:hover .sp-event-img {
    transform: scale(1.03);
}

.sp-event-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sp-event-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.sp-event-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
}

.sp-event-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ============================================================
   SECTION 6: WHAT SPONSORSHIP LOOKS LIKE
   ============================================================ */
.sp-whatitlooks-section {
    background: #fff;
}

.sp-sponsorship-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-sponsorship-list li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.sp-sponsorship-list li:last-child {
    border-bottom: none;
}

.sp-star-icon {
    color: #f0932b;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================================
   SECTION 7: FORM SECTION
   ============================================================ */
.sp-form-section {
    background: #f0f0f0;
}

.sp-form-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 48px;
}

.sp-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 16px;
}

.sp-form-wrapper .form-control,
.sp-form-wrapper .form-select {
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #c8c8c8;
    transition: border-color 0.2s ease;
}

.sp-form-wrapper .form-control:focus,
.sp-form-wrapper .form-select:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.15);
}

.sp-form-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #323232;
    margin-bottom: 6px;
    display: block;
}

.sp-form-wrapper .s_website_form_mark {
    color: #e74c3c;
}

.sp-form-wrapper .form-check {
    padding-top: 8px;
}

/* ============================================================
   SECTION 8: FOOTER NOTE
   ============================================================ */
.sp-footer-note {
    background: #1a1a1a;
}

.sp-footer-note .small {
    color: #b0b0b0 !important;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.sp-thankyou-section {
    background: #fff;
    min-height: 400px;
}

.sp-thankyou-icon {
    animation: sp-bounce-in 0.6s ease;
}

@keyframes sp-bounce-in {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .sp-hero-title {
        font-size: 32px;
    }

    .sp-hero-subtitle {
        font-size: 15px;
    }

    .sp-hero-section {
        min-height: 380px;
        padding: 60px 0;
    }

    .sp-quote-text {
        font-size: 22px;
    }

    .sp-stat-number {
        font-size: 44px;
    }

    .sp-form-wrapper {
        padding: 24px 20px;
    }
}

@media (max-width: 767px) {
    .sp-hero-title {
        font-size: 26px;
    }

    .sp-section-title {
        font-size: 26px;
    }

    .sp-stat-card {
        padding: 16px;
    }

    .sp-stat-number {
        font-size: 36px;
    }

    .sp-quote-text {
        font-size: 18px;
    }
}

/* ============================================================
   MICROSOFT FLUENT MULTI-SELECT DROPDOWN
   Replicates PowerApps / Microsoft event sponsorship multiselect
   ============================================================ */
.ms-multiselect-container {
    position: relative;
    width: 100%;
}

.ms-multiselect-box {
    min-height: 38px;
    padding: 3px 32px 3px 6px;
    background-color: #fff;
    border: 1px solid #8a8886;
    border-radius: 2px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    cursor: text;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ms-multiselect-box:hover {
    border-color: #323130;
}

.ms-multiselect-container.is-open .ms-multiselect-box,
.ms-multiselect-box:focus-within {
    border-color: #0078d4 !important;
    box-shadow: 0 0 0 1px #0078d4;
}

.ms-multiselect-container.is-invalid .ms-multiselect-box {
    border-color: #a80000 !important;
    box-shadow: 0 0 0 1px #a80000;
}

.ms-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.ms-tag {
    background: #f3f2f1;
    color: #201f1e;
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    user-select: none;
    max-width: 100%;
    animation: ms-fade-in 0.15s ease;
}

@keyframes ms-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.ms-tag-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-tag-remove {
    margin-left: 6px;
    font-size: 15px;
    color: #605e5c;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border-radius: 2px;
    transition: background-color 0.1s, color 0.1s;
}

.ms-tag-remove:hover {
    background-color: #e1dfdd;
    color: #a80000;
}

.ms-search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 1 1 140px;
    font-size: 14px;
    color: #201f1e;
    padding: 4px 6px;
    min-width: 120px;
    height: 28px;
}

.ms-search-input::placeholder {
    color: #605e5c;
    opacity: 1;
}

.ms-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #605e5c;
    pointer-events: none;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.ms-multiselect-container.is-open .ms-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.ms-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #8a8886;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    z-index: 1050;
    border-radius: 2px;
    margin-top: 1px;
}

.ms-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid #edebe9;
    font-size: 13px;
    color: #605e5c;
    background: #fff;
    user-select: none;
}

.ms-select-all {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #201f1e;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: 2px;
    transition: color 0.15s ease;
}

.ms-select-all:hover {
    color: #0078d4;
}

.ms-items-count {
    color: #605e5c;
    font-size: 13px;
    font-weight: 400;
}

.ms-options-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 4px 0;
}

.ms-options-list::-webkit-scrollbar {
    width: 8px;
}

.ms-options-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ms-options-list::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 4px;
}

.ms-options-list::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

.ms-option-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #201f1e;
    gap: 10px;
    transition: background-color 0.1s ease;
    user-select: none;
}

.ms-option-item:hover {
    background-color: #f3f2f1;
}

.ms-option-item.is-selected {
    background-color: #f0f7fc;
    color: #0078d4;
    font-weight: 500;
}

.ms-option-item.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent !important;
}

.ms-check-indicator {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #0078d4;
    visibility: hidden;
    flex-shrink: 0;
}

.ms-option-item.is-selected .ms-check-indicator,
.ms-select-all.is-all-selected .ms-check-indicator {
    visibility: visible;
}

.ms-option-text {
    flex: 1;
    line-height: 1.35;
}

.ms-no-results {
    padding: 12px 14px;
    color: #605e5c;
    font-size: 13px;
    text-align: center;
}

.ms-error-text {
    color: #a80000;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.ms-multiselect-container.is-invalid .ms-error-text {
    display: block;
}

.ms-limit-note {
    font-size: 12px;
    color: #605e5c;
    margin-top: 3px;
}

