/* Custom Event Page Redesign */
.new-event-design {
    font-family: 'Inter', sans-serif;
    color: #333;
}

.new-event-design .col-md-8 {
    padding-right: 30px;
}

/* White Box Layout */
.new-event-design .white-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
}

.new-event-design .event-cover-block {
    position: relative;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.new-event-design .event-cover-block img#cover-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.new-event-design .event-title-block h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a4f89;
}

.new-event-design .event-title-block p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.new-event-design .event-desc-block h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
}

.new-event-design .wo_event_desc {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

/* Ticket Sidebar */
.ticket-sidebar-container {
    padding-bottom: 20px;
}


.scallop-top,
.scallop-bottom {
    width: 100%;
    height: 20px;
    display: flex;
    align-items: flex-end;
}

.scallop-top {
    background: radial-gradient(circle at 50% 0%, #ffffff00 9px, #0c5ca6 10px);
    background-size: 22.7px 20px;
    background-position: top center;
    background-repeat: repeat-x;
    /* border-radius: 18px 18px 0 0; */
}

.scallop-bottom {
    background: radial-gradient(circle at 50% 100%, #ffffff00 9px, #0c5ca6 10px);
    background-size: 22.7px 20px;
    background-position: bottom center;
    background-repeat: repeat-x;
    /* border-radius: 0 0 18px 18px; */
}

/* confetti dots (decorative) */
.ticket-body {
    background-color: #0c5ca6;
    position: relative;
    overflow: hidden;
    color: white;
}

.confetti-top {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.confetti-top svg {
    width: 100%;
    height: 100%;
}

.confetti-bottom {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    width: 100%;
    pointer-events: none;
    opacity: 0.9;
}

.confetti-bottom svg {
    width: 100%;
    height: 100%;
}

.tear-line {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tear-notch {
    width: 25px;
    height: 40px;
    flex-shrink: 0;
}

.tear-notch.left {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 25px solid #e5e6e5;
    margin-left: -1px;
}

.tear-notch.right {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 25px solid #ece9df;
    margin-right: -1px;
}

.tear-notch.left {
    margin-left: -10px;
}

.tear-notch.right {
    margin-right: -10px;
}

.tear-dashes {
    flex: 1;
    border-top: 2.87px dashed #EAE7E1;
}

.info-bar,
.ticket-options {
    padding: 8px 16px;
    position: relative;
    z-index: 1;
}

.location-section {
    padding: 0px 16px;
    position: relative;
    z-index: 1;
}

.btn-options {
    padding: 20px 16px 20px 16px;
    position: relative;
    z-index: 1;
}

.ticket-sidebar h5 {
    font-size: 15px;
    font-weight: 500;
    padding: 0 0 12px 0;
    opacity: 0.8;
    border-bottom: 1px solid #ffffff21;
}

.ticket-info .ticket-info-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.ticket-info .info-item {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.ticket-info .info-item svg {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}


.ticket-map {
    border-radius: 8px;
    padding: 2px;
    overflow: hidden;
    height: 120px;
    margin-bottom: 5px;
}

.ticket-map iframe,
.ticket-map #place_event_map {
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px;
}

.ticket-tabs-wrapper {
    background: white;
    border-radius: 20px;
    padding: 4px;
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.ticket-tab {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 5px;
    cursor: pointer;
    border-radius: 16px;
    color: #1C1C1C;
    transition: all 0.3s ease;
    border: 1px solid #0000000D;
}

.ticket-tab.active {
    background: #0c5ca6;
    color: white;
}

.ticket-tab-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-tab-content ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.ticket-price {
    font-size: 22px;
    font-weight: 800;
    color: #0c5ca6;
    margin: 0;
}

.buy-ticket-btn {
    background: #f7a21a;
    color: white;
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.buy-ticket-btn:hover {
    background: #e69110;
    color: white;
}

.buy-ticket-btn svg {
    margin-left: 10px;
}

/* Similar Events */
.similar-events-block {
    margin-top: 30px;
    margin-bottom: 30px;
}

.similar-events-block h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.similar-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.similar-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.similar-card-img {
    position: relative;
    height: 120px;
}

.similar-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-card-actions .action-btn {
    background: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 14px;
}

.similar-card-actions .action-btn svg {
    width: 14px;
    height: 14px;
}

.similar-card-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.crown-badge {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.avatar-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2px 6px;
}

.avatar-group img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid white;
    margin-left: -5px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-group span {
    font-size: 10px;
    font-weight: 700;
    color: #0c5ca6;
    margin-left: 4px;
}

.similar-card-body {
    padding: 15px;
}

.similar-card-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
}

.similar-card-date {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
}

.similar-card-date strong {
    color: #0c5ca6;
}

.similar-card-buttons {
    display: flex;
    gap: 10px;
}

.similar-btn {
    flex: 1;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.similar-btn-blue {
    background: #0c5ca6;
    color: white;
}

.similar-btn-outline {
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
}

@media (max-width: 992px) {
    .similar-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .new-event-design .col-md-8 {
        padding-right: 15px;
    }
}

/* Old styling integration for uploader */
.new-event-design .profile-cover-changer {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.new-event-design .user-cover-uploading-container,
.new-event-design .user-cover-uploading-progress {
    position: absolute;
    z-index: 9;
}