.invite_info small {
    font-style: italic;
    margin-top: 20px;
}

img.signature {
    max-width: 250px;
}

.wedding-details>i {
    line-height: 1;
    padding-top: 30px;
    padding-bottom: 15px;
}

.map-info-container::before {
    content: none;
}

.location-bg-section {
    position: relative;
}

div#location-image {
    background-image: url(https://www.villazanchi.com/img/gallery/salabianca.jpg);
    background-attachment: unset;
}

.no-padding-bottom {
    padding-bottom: 0;
}

.extra-padding-bottom {
    padding-bottom: 70px;
}

.testimonials .owl-item .item blockquote {
    padding: 20px 80px;
    font-size: 32px;
}

.border-white {
    border-color: #fff !important;
}


.border-top-xs {
    border-top: 1px solid;
}

.invite_title {
    background-color: rgba(148, 171, 191, .7)
}

.text-m {
    font-size: 18px;
}

.divider-grey::after {
    border-color: transparent transparent #f9f9f9;
}

.autor-divider {
    position: relative;
}

.shadow {
    box-shadow: 0 0 25px 10px rgba(100,100,100,.14);
}

.author-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 1px;
    bottom: 0;
    background-color: #73777b;
    -khtml-opacity: 0.2;
    -moz-opacity: 0.2;
    opacity: .2;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-scroller img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.form-wrapper iframe {
    position: relative;
    z-index: 999;
    width: 100%;
}

.form-wrapper h1 {
    padding-bottom: 10px;
}

.form-wrapper .section-title::after {
    bottom: -35px;
}

.form-wrapper {
    padding: 40px 10px;
}
.invite_title .text {
    line-height: 1.2 !important;
}
.invite_title span {
    font-size: 40px !important;
    text-transform: uppercase;
}
.invite_info .time,
.invite_info .location {
    font-size: 20pt;
}

.invite_info .location {
    font-family: "Playfair Display", serif;
}

.invite_info small {
    margin-bottom: 10px;
}

.form-wrapper.neela-style {
    border: none
}

.item .btn-light {
    color: #f5f5f5;
}

.upload-box {
    border: 2px dashed rgba(0,0,0,0.15);
    border-radius: 18px;
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(180deg, #fafafa, #fff);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-box:hover {
    border-color: rgba(0,0,0,0.35);
}

.upload-box.dragging {
    border-color: #000;
    background: #f5f5f5;
}

.upload-icon {
    font-size: 42px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.upload-box p {
    font-size: 14px;
    margin-bottom: 30px;
}

.upload-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #94abbf;
    background: #94abbf;
    color: #fff;
    font-size: 14px;
    transition: 0.2s;
}

.upload-btn:hover {
    background: #fff;
    color: #94abbf;
}

.upload-success {
    margin-top: 15px;
    padding: 12px 16px;
    background: #eaf8ef;
    border: 1px solid #bde5c8;
    border-radius: 12px;
    color: #1f6b3a;
    font-size: 14px;
}

.upload-progress {
    margin-top: 20px;
    text-align: left;
}

.progress-text {
    font-size: 13px;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #94abbf, #73777b);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.upload-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #222;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 9999;
}

.upload-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.upload-toast.success {
    border-left: 5px solid #2e7d32;
    background: #f3fbf4;
    color: #1f5f25;
}

.upload-toast.error {
    border-left: 5px solid #c62828;
    background: #fff5f5;
    color: #7a1c1c;
}

.upload-message {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    animation: fadeIn 0.25s ease;
}

.upload-message.success {
    background: #f3fbf4;
    border: 1px solid #cfe8d2;
    color: #1f5f25;
}

.upload-message.success {
    background: #f3fbf4;
    border: 1px solid #cfe8d2;
    color: #1f5f25;
}

.new-photo {
    animation: fadeInUp 0.4s ease;
}

.loading-image {
    opacity: 0;
    transform: scale(0.98);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.loading-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.gallery-empty {
    padding: 40px 20px;
    text-align: center;
    border-radius: 18px;
}

.gallery-empty .empty-icon {
    font-size: 52px;
    margin-bottom: 18px;
    opacity: 0.7;
}

.gallery-empty h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.gallery-empty p {
    margin: 0;
    line-height: 1.6;
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.25);
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    font-size: 18px;
}

.video-badge i {
    margin-left: 3px;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

.video-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: 0;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.upload-disclaimer {
    max-width: 720px;
    margin: 35px auto 50px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    text-align: center;
    color: #666;
    line-height: 1.7;
    font-size: .95rem;
    backdrop-filter: blur(4px);
}

.upload-disclaimer p:last-child {
    margin-bottom: 0;
}

.disclaimer-title {
    font-weight: 700;
    color: #444;
    margin-bottom: 12px;
    font-size: 1rem;
}

.disclaimer-title i {
    color: #9bb4c7;
    margin-right: 6px;
}

.disclaimer-thanks {
    margin-top: 18px;
    font-style: italic;
    color: #7a7a7a;
}

.media-modal{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.media-modal.open{
    display:flex;
}

.media-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.92);
}

.media-content {
    position: relative;
    width: min(90vw, 1100px);
    height: auto;
    z-index: 2;
}

.media-content img{
    width:100%;
    max-height:90vh;
    object-fit:contain;
    display:block;
}

.media-content iframe {
    width: 100%;
    height: min(56vw, 620px);
    border: 0;
    background: #000;
    display: block;
}

.media-close{
    position:absolute;
    top:-45px;
    right:0;
    border:0;
    background:none;
    color:white;
    font-size:38px;
    cursor:pointer;
}

.media-content video {
    width:100%;
    max-height:90vh;
    background:#000;
    display:block;
}

@media (max-width:768px) {
    .upload-toast {
        left: 16px;
        right: 16px;
        top: 30px;
        max-width: unset;
    }

    .media-content {
        width: 95vw;
    }

    .media-content iframe {
        height: 53vw;
        min-height: 220px;
    }
}

@media (min-width:768px) {
    .border-md-start {
        border-left: 1px solid;
        border-top: none;
    }
    .form-wrapper.neela-style {
        border: 42px solid #fff;
    }
}

@media (min-width:992px) {
    .border-lg-start {
        border-left: 1px solid;
        border-top: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}