/* ================================================
   Sponsor Slot Styles — Jakarta Berjaga 3.0
   ================================================ */

/* === SLOT: Banner (challenge_banner, home_banner) === */
.sponsor-banner {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}
.sponsor-banner a {
    display: block;
}
.sponsor-banner img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 12px;
}
.sponsor-banner .sponsor-label {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* === SLOT: Presented By (leaderboard) === */
.sponsor-presented-by {
    text-align: center;
    margin-bottom: 12px;
    padding: 8px 0;
}
.sponsor-presented-by .sponsor-presented-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.sponsor-presented-by img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    margin: 0 8px;
    vertical-align: middle;
}
.sponsor-presented-by a {
    text-decoration: none;
}

/* === SLOT: Native Card (challenge list) === */
.sponsor-native-card {
    background: linear-gradient(135deg, #f0fdf9 0%, #e0f7f1 100%);
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    position: relative;
}
.sponsor-native-card .sponsor-native-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 9px;
    color: #6b7280;
    background: rgba(255,255,255,0.8);
    padding: 1px 6px;
    border-radius: 4px;
}
.sponsor-native-card .sponsor-native-body {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sponsor-native-card .sponsor-native-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: #fff;
    padding: 4px;
}
.sponsor-native-card .sponsor-native-content {
    flex: 1;
    min-width: 0;
}
.sponsor-native-card .sponsor-native-title {
    font-size: 12px;
    font-weight: 700;
    color: #065f46;
    margin: 0;
}
.sponsor-native-card .sponsor-native-desc {
    font-size: 11px;
    color: #374151;
    margin: 3px 0 0 0;
    line-height: 1.4;
}
.sponsor-native-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* === SLOT: Header Strip === */
.sponsor-header-strip {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sponsor-header-strip::-webkit-scrollbar {
    display: none;
}
.sponsor-header-strip img {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    flex-shrink: 0;
}
.sponsor-header-strip img:hover {
    opacity: 1;
}

/* === SLOT: Profile Footer === */
.sponsor-profile-footer {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-top: 16px;
    margin-bottom: 30px;
    text-align: center;
}
.sponsor-profile-footer .sponsor-profile-label {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.sponsor-profile-footer .sponsor-profile-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sponsor-profile-footer img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}
.sponsor-profile-footer a {
    text-decoration: none;
}

/* === SLOT: Login Popup === */
.sponsor-popup-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.sponsor-popup-label {
    font-size: 9px;
    color: #94a3b8;
    text-align: center;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === SLOT: Success Screen (SweetAlert) === */
.sponsor-success-wrap {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.sponsor-success-wrap img {
    max-height: 32px;
    width: auto;
    margin-bottom: 4px;
}
.sponsor-success-wrap .sponsor-success-text {
    font-size: 11px;
    color: #6b7280;
}
