/* SJ Citizen Events Calendar - Advanced Visual Design */
/* Brand Colors: #042734, #71CCD7, #0A4A5C */
/* High Priority Styles - Scoped to prevent conflicts */

:root {
    --sjc-primary: #042734;
    --sjc-secondary: #71CCD7;
    --sjc-accent: #0A4A5C;
    --sjc-light: #E8F7F9;
    --sjc-white: #ffffff;
    --sjc-text: #333333;
    --sjc-text-light: #666666;
    --sjc-border: #e0e0e0;
    --sjc-sponsored: #FFB74D;
    --sjc-gradient: linear-gradient(135deg, #042734 0%, #0A4A5C 50%, #71CCD7 100%);
}

/* Scoped styles with high specificity */
.sjc-events-calendar-wrapper *,
.sjc-events-calendar-wrapper *::before,
.sjc-events-calendar-wrapper *::after,
.sjc-single-event-hero *,
.sjc-single-event-hero *::before,
.sjc-single-event-hero *::after,
.sjc-single-event-container *,
.sjc-single-event-container *::before,
.sjc-single-event-container *::after,
.sjc-submission-form-wrapper *,
.sjc-submission-form-wrapper *::before,
.sjc-submission-form-wrapper *::after {
    box-sizing: border-box !important;
}

.sjc-events-calendar-wrapper {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

/* ===============================================
   VIEW TOGGLE - Enhanced
=============================================== */
body .sjc-view-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
    gap: 0;
}

.sjc-view-btn {
    padding: 12px 24px;
    border: 2px solid var(--sjc-primary);
    background: var(--sjc-white);
    color: var(--sjc-primary);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sjc-view-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.sjc-view-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.sjc-view-btn:hover {
    background: var(--sjc-light);
    transform: translateY(-1px);
}

.sjc-view-btn.active {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    box-shadow: 0 4px 12px rgba(4, 39, 52, 0.3);
}

.sjc-view-btn span {
    font-size: 18px;
}

/* ===============================================
   FILTERS - Narrower & SVG Icons
=============================================== */
body .sjc-events-filters {
    background: var(--sjc-gradient);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(4, 39, 52, 0.2);
    position: relative;
    overflow: hidden;
}

.sjc-events-filters::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(113, 204, 215, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.sjc-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: end;
    position: relative;
    z-index: 2;
}

.sjc-filter-field {
    position: relative;
}

.sjc-filter-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 12px;
    color: var(--sjc-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sjc-filter-field input,
.sjc-filter-field select {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: var(--sjc-white);
    color: var(--sjc-text);
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sjc-filter-field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23042734' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.sjc-filter-field input:focus,
.sjc-filter-field select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(113, 204, 215, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.sjc-filter-field input::placeholder {
    color: #999;
}

.sjc-filter-actions {
    display: flex;
    gap: 12px;
}

.sjc-filter-button,
.sjc-clear-button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.sjc-filter-button {
    background: var(--sjc-secondary);
    color: var(--sjc-primary);
    box-shadow: 0 4px 12px rgba(113, 204, 215, 0.4);
}

.sjc-filter-button:hover {
    background: var(--sjc-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.sjc-clear-button {
    background: transparent;
    color: var(--sjc-white);
    border: 2px solid var(--sjc-white);
}

.sjc-clear-button:hover {
    background: var(--sjc-white);
    color: var(--sjc-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .sjc-filter-row {
        grid-template-columns: 1fr;
    }
    
    .sjc-filter-actions {
        flex-direction: column;
    }
    
    .sjc-filter-button,
    .sjc-clear-button {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   EVENTS GRID
=============================================== */
body .sjc-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.sjc-events-grid.list-view {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    body .sjc-events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ===============================================
   EVENT CARD - Grid View
=============================================== */
body .sjc-event-card {
    background: var(--sjc-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.sjc-event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(4, 39, 52, 0.25);
}

.sjc-event-card.sjc-sponsored {
    border: 3px solid var(--sjc-sponsored);
    box-shadow: 0 4px 20px rgba(255, 183, 77, 0.3);
}

.sjc-event-card.sjc-sponsored:hover {
    box-shadow: 0 20px 50px rgba(255, 183, 77, 0.4);
}

.sjc-sponsored-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sjc-sponsored);
    color: var(--sjc-primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sjc-event-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--sjc-gradient);
}

.sjc-event-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(4, 39, 52, 0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.sjc-event-card:hover .sjc-event-image::after {
    opacity: 1;
}

.sjc-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sjc-event-card:hover .sjc-event-image img {
    transform: scale(1.15);
}

.sjc-event-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sjc-event-title {
    font-size: 23px;
    margin: 0 0 16px 0;
    line-height: 1.3;
    font-weight: 800;
    color: var(--sjc-primary);
}

.sjc-event-title a {
    color: var(--sjc-primary);
    text-decoration: none;
    transition: color 0.3s;
    background: linear-gradient(to right, var(--sjc-secondary) 0%, var(--sjc-secondary) 100%);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s;
}

.sjc-event-title a:hover {
    color: var(--sjc-accent);
    background-size: 100% 2px;
}

.sjc-event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--sjc-text-light);
}

.sjc-event-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sjc-event-meta .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--sjc-secondary);
}

.sjc-event-excerpt {
    color: var(--sjc-text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
    flex-grow: 1;
}

.sjc-event-actions {
    display: flex;
    gap: 12px;
    padding-top: 22px;
    border-top: 2px solid var(--sjc-light);
}

.sjc-event-link,
.sjc-event-learn-more {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sjc-event-link {
    background: var(--sjc-light);
    color: var(--sjc-primary);
    border: 2px solid var(--sjc-secondary);
}

.sjc-event-link:hover {
    background: var(--sjc-secondary);
    color: var(--sjc-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(113, 204, 215, 0.4);
}

.sjc-event-learn-more {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    border: 2px solid var(--sjc-primary);
}

.sjc-event-learn-more:hover {
    background: var(--sjc-accent);
    border-color: var(--sjc-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 74, 92, 0.5);
}

/* ===============================================
   LIST VIEW
=============================================== */
.sjc-events-grid.list-view body .sjc-event-card {
    flex-direction: row;
    max-height: 300px;
}

.sjc-events-grid.list-view .sjc-event-image {
    width: 400px;
    height: 100%;
    flex-shrink: 0;
}

.sjc-events-grid.list-view .sjc-event-content {
    padding: 35px;
}

.sjc-events-grid.list-view .sjc-event-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.sjc-events-grid.list-view .sjc-event-actions {
    border-top: none;
    padding-top: 0;
}

@media (max-width: 768px) {
    .sjc-events-grid.list-view body .sjc-event-card {
        flex-direction: column;
        max-height: none;
    }
    
    .sjc-events-grid.list-view .sjc-event-image {
        width: 100%;
        height: 260px;
    }
}

/* ===============================================
   NO EVENTS
=============================================== */
.sjc-no-events {
    text-align: center;
    padding: 80px 20px;
    color: var(--sjc-text-light);
    font-size: 20px;
    background: var(--sjc-light);
    border-radius: 16px;
    font-weight: 600;
}

/* ===============================================
   PAGINATION
=============================================== */
.sjc-events-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.sjc-events-pagination a,
.sjc-events-pagination span {
    padding: 12px 20px;
    border: 2px solid var(--sjc-primary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--sjc-primary);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sjc-events-pagination a:hover {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(4, 39, 52, 0.3);
}

.sjc-events-pagination .current {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    box-shadow: 0 4px 12px rgba(4, 39, 52, 0.3);
}

/* ===============================================
   SINGLE EVENT PAGE - ADVANCED DESIGN
=============================================== */
body .sjc-single-event-hero {
    position: relative;
    min-height: 550px;
    background: var(--sjc-gradient);
    margin-bottom: 60px;
    padding: 100px 20px 80px;
    color: var(--sjc-white);
    text-align: center;
    overflow: hidden;
}

.sjc-single-event-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(113, 204, 215, 0.15) 0%, transparent 50%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.sjc-single-event-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, white 100%);
}

.sjc-single-event-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.sjc-single-event-hero h1 {
    font-size: 56px;
    margin: 0 0 25px 0;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sjc-event-date-large {
    font-size: 24px;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.sjc-sponsored-tag-large {
    display: inline-block;
    background: var(--sjc-sponsored);
    color: var(--sjc-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.1s both, pulse 2s infinite 1s;
}

body .sjc-single-event-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.sjc-single-event-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .sjc-single-event-layout {
        grid-template-columns: 1fr;
    }
    
    .sjc-single-event-hero h1 {
        font-size: 38px;
    }
    
    .sjc-event-date-large {
        font-size: 18px;
    }
}

/* Main Content Area */
.sjc-event-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.sjc-event-featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 39, 52, 0.1) 0%, rgba(113, 204, 215, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.sjc-event-featured-image:hover::before {
    opacity: 1;
}

.sjc-event-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sjc-event-featured-image:hover img {
    transform: scale(1.05);
}

.sjc-event-content-section {
    background: var(--sjc-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
    line-height: 1.9;
    font-size: 17px;
    color: var(--sjc-text);
    border-left: 5px solid var(--sjc-secondary);
}

.sjc-event-content-section p {
    margin-bottom: 20px;
}

.sjc-event-content-section h2,
.sjc-event-content-section h3 {
    color: var(--sjc-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Sidebar - Sticky & Floating */
.sjc-single-event-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.sjc-event-details-card {
    background: var(--sjc-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(4, 39, 52, 0.15);
    margin-bottom: 30px;
    border: 1px solid rgba(113, 204, 215, 0.2);
    transition: all 0.3s;
}

.sjc-event-details-card:hover {
    box-shadow: 0 15px 50px rgba(4, 39, 52, 0.2);
    transform: translateY(-5px);
}

.sjc-event-details-card h3 {
    margin: 0 0 30px 0;
    font-size: 22px;
    color: var(--sjc-primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--sjc-secondary);
}

.sjc-event-detail-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    transition: all 0.3s;
}

.sjc-event-detail-item:hover {
    padding-left: 10px;
    background: rgba(232, 247, 249, 0.3);
    margin: 0 -10px;
    padding-right: 10px;
    border-radius: 8px;
}

.sjc-event-detail-item:last-child {
    border-bottom: none;
}

.sjc-event-detail-label {
    font-weight: 800;
    color: var(--sjc-accent);
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}

.sjc-event-detail-value {
    color: var(--sjc-text);
    font-size: 16px;
    font-weight: 500;
}

.sjc-event-actions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.sjc-button-primary,
.sjc-button-secondary {
    display: block;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.sjc-button-primary::before,
.sjc-button-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sjc-button-primary:hover::before,
.sjc-button-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.sjc-button-primary {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    box-shadow: 0 6px 20px rgba(4, 39, 52, 0.3);
}

.sjc-button-primary:hover {
    background: var(--sjc-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 74, 92, 0.4);
}

.sjc-button-secondary {
    background: var(--sjc-secondary);
    color: var(--sjc-primary);
    box-shadow: 0 6px 20px rgba(113, 204, 215, 0.3);
}

.sjc-button-secondary:hover {
    background: var(--sjc-accent);
    color: var(--sjc-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 74, 92, 0.4);
}

/* ===============================================
   SUBMISSION FORM
=============================================== */
body .sjc-submission-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.sjc-form-section {
    background: var(--sjc-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--sjc-border);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sjc-form-section h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 26px;
    color: var(--sjc-primary);
    border-bottom: 4px solid var(--sjc-secondary);
    padding-bottom: 15px;
}

.sjc-form-field {
    margin-bottom: 25px;
}

.sjc-form-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--sjc-primary);
}

.sjc-form-field .required {
    color: #d63638;
}

.sjc-form-field input[type="text"],
.sjc-form-field input[type="email"],
.sjc-form-field input[type="tel"],
.sjc-form-field input[type="url"],
.sjc-form-field input[type="date"],
.sjc-form-field input[type="time"],
.sjc-form-field input[type="file"],
.sjc-form-field select,
.sjc-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--sjc-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.sjc-form-field input:focus,
.sjc-form-field select:focus,
.sjc-form-field textarea:focus {
    outline: none;
    border-color: var(--sjc-secondary);
    box-shadow: 0 0 0 4px rgba(113, 204, 215, 0.2);
}

.sjc-form-field textarea {
    resize: vertical;
}

.sjc-form-field small {
    display: block;
    margin-top: 6px;
    color: var(--sjc-text-light);
    font-size: 13px;
}

.sjc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .sjc-form-row {
        grid-template-columns: 1fr;
    }
}

.sjc-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.sjc-terms-box {
    background: var(--sjc-light);
    border: 2px solid var(--sjc-secondary);
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.sjc-form-submit {
    text-align: center;
    margin-top: 35px;
}

.sjc-submit-button {
    background: var(--sjc-primary);
    color: var(--sjc-white);
    padding: 18px 60px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(4, 39, 52, 0.3);
}

.sjc-submit-button:hover {
    background: var(--sjc-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 74, 92, 0.4);
}

.sjc-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sjc-success,
.sjc-error {
    padding: 18px;
    border-radius: 8px;
    margin-top: 25px;
    font-weight: 600;
}

.sjc-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.sjc-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ===============================================
   WIDGET STYLES
=============================================== */
.sjc-widget-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sjc-widget-event {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sjc-border);
    transition: all 0.3s;
}

.sjc-widget-event:hover {
    padding-left: 8px;
}

.sjc-widget-event:last-child {
    border-bottom: none;
}

.sjc-widget-event-image {
    flex-shrink: 0;
}

.sjc-widget-event-image img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.sjc-widget-event-content h4 {
    margin: 0 0 7px 0;
    font-size: 15px;
    color: var(--sjc-primary);
    font-weight: 700;
}

.sjc-widget-event-content h4 a {
    color: var(--sjc-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.sjc-widget-event-content h4 a:hover {
    color: var(--sjc-secondary);
}

.sjc-widget-event-date {
    font-size: 13px;
    color: var(--sjc-text-light);
    font-weight: 500;
}

.sjc-widget-view-all {
    text-align: center;
    margin-top: 18px;
}

.sjc-widget-view-all a {
    color: var(--sjc-primary);
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s;
    font-size: 14px;
}

.sjc-widget-view-all a:hover {
    color: var(--sjc-secondary);
}
