﻿#previewContainer .content {
    /*flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;*/
}

#previewContainer .event-name {
    font-family: "Open Sans";
    font-weight: 800;
    font-size: 48px;
    line-height: 50px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

#previewContainer .pre-badge-text {
    font-family: "Open Sans";
    font-size: 1rem;
    text-align: center;
    color: #0B1556;
}

#previewContainer .preview-badge {
    position: relative;
    min-height: 180px; /* ensures space before render */
    display: flex;
    justify-content: center;
    align-items: center;
}
    #previewContainer .preview-badge canvas {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: scale-down;
        max-height: 320px;
    }

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/*@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}*/



#previewContainer .success-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    margin: 20px 0;
}

#previewContainer .success-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 4px;
}

#previewContainer .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

#previewContainer .btn-light {
    background: white;
    color: #1a2849;
}

    .btn-light:hover {
        background: #f0f0f0;
    }

#previewContainer .btn-dark {
    background: linear-gradient(135deg, #1a2849 0%, #0f1d36 100%);
    color: white;
    margin-top: 0px;
}

    #previewContainer .btn-dark:hover {
        background: linear-gradient(135deg, #25448a 0%, #1a2849 100%);
    }

    #previewContainer .btn-dark strong {
        font-weight: 700;
    }

.fp-btn.loader .spinner {
    width: 20px;
    height: 20px;
}
