/* ============================================================
   Sponsor Dashboard
   ============================================================ */
.ua-card {
    border: 1px solid #e2e4e7;
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ua-card h4 {
    margin-top: 0;
    font-size: 1.4em;
    color: #23282d;
    margin-bottom: 10px;
}
.ua-meta-info {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #555;
}
.ua-meta-info strong { color: #333; }
.ua-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.ua-field { margin-bottom: 15px; }
.ua-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}
.ua-field input[type="text"],
.ua-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.ua-notice {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #ffeeba;
}
.ua-notice.ua-notice-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.ua-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}
.ua-btn:hover { background: #005a87; }
@media (max-width: 600px) {
    .ua-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Sponsorship Modal
   ============================================================ */
#ua-sponsor-modal { display: none; }
.ua-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
}
.ua-modal-content {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 450px;
    z-index: 100000;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
.ua-modal-content h3 { margin-top: 0; }
.ua-modal-subtitle { margin-bottom: 20px; color: #666; }
.ua-modal-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.ua-modal-input {
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.ua-modal-file { margin-bottom: 20px; }
.ua-modal-actions { text-align: right; }
.ua-skip-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    margin-right: 15px;
    text-decoration: underline;
}
.ua-confirm-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* ============================================================
   Sponsorship Carousel (Checkout & Shortcode)
   ============================================================ */
.ua-checkout-carousel-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e4e7;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ua-checkout-carousel-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3338;
    text-align: center;
}
.ua-slider-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.ua-slider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #dcdcde;
}
.ua-slider-card img {
    border-radius: 8px;
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}
.ua-slider-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 10px;
    line-height: 1.3;
}
.ua-slider-card .ua-price {
    font-size: 1.1rem;
    color: #007cba;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}
.ua-slider-card .ua-slider-trigger {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}
.ua-slider-card .ua-slider-trigger:hover { background: #005a87; }
.ua-checkout-carousel-wrapper .swiper { padding-bottom: 40px; }
.ua-checkout-carousel-wrapper .swiper-pagination-bullet-active { background: #007cba !important; }
.ua-single-sponsorship .swiper-wrapper { justify-content: center; }
.ua-single-sponsorship .swiper-slide { max-width: 350px; }
.ua-single-sponsorship .swiper-pagination { display: none !important; }
.ua-single-sponsorship { padding-bottom: 10px !important; }

/* ============================================================
   Sponsor Logo Marquee (Elementor widget)
   ============================================================ */
.ua-marquee-container {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
}
.ua-marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ua_marquee var(--marquee-speed, 20s) linear infinite;
}
.ua-marquee-track:hover { animation-play-state: paused; }
.ua-marquee-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}
.ua-marquee-item img {
    max-width: none;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}
.ua-marquee-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes ua_marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
