/* MODAL BASE */

/*body {
    margin: 0;
    padding: 0;
    background-image: url('../images/RedBG.jpg');
    background-size: contain;         scales image nicely 
    background-repeat: repeat;      repeats to cover full area 
    background-position: center;
    background-attachment: fixed;   makes it look premium 
}*/

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 10, 10, 0.8);
}

/* MODAL CONTENT */
.modal-content {
    background-color: #0e0f14;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 255, 120, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* HEADER */
.modal-header .shop-tag {
    background-color: #0f172a;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.alert-box {
    background-color: #f97316;
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 20px 0;
    font-weight: 500;
}

.alert-box .create-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* FORM */
.shop-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #ddd;
}

.createnewDiv{
    text-align: center;
    padding-top: 1em;
}

.form-group input,
.form-group select {
    background-color: #1a1d26;
    border: 1px solid #2e3440;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #22c55e;
}

/* SUBMIT BUTTON */
.shop-submit {
    width: 100%;
    background-color: #22c55e;
    border: none;
    padding: 14px;
    color: #000;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.shop-submit:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

.bcslogo{
    width: 3em;
    margin: 0.5em;
}

.open {
    display: block !important;
}

/* CLOSE BUTTON */
.close {
    color: #fff;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #22c55e;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fullscreen iframe overlay */
.iframe-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(4px);
}

.iframe-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button for iframe */
.iframe-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: whitesmoke;
    /*color: #ff0052;*/
    font-size: 36px;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}

.iframe-close:hover {
    color: #22c55e;
}

.logoSizeFix{
    /*height: 5em;*/
    height: 7em;
}


.flip-bounce-container {
    display: inline-block;
    perspective: 1000px; /* needed for 3D effect */
}

.flip-bounce-image {
    display: block;
    transform-style: preserve-3d;
    animation: bounceFlip 3s infinite ease-in-out;
}

@keyframes bounceFlip {
    0% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-12px) rotateY(90deg);
    }
    50% {
        transform: translateY(0) rotateY(180deg);
    }
    75% {
        transform: translateY(-12px) rotateY(270deg);
    }
    100% {
        transform: translateY(0) rotateY(360deg);
    }
}

/* Optional: respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .flip-bounce-image {
        animation: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        display: contents;
          
    }
    .modal-header .shop-tag {
        display: block;
    }
}

.closeColor{
    color: red;
}

.whiteText{
    color: #fffff;
}

.header-section-transparent {
    background: rgba(35,42,92,.3);
    backdrop-filter: unset;
    z-index: 999;
}

.header-section.header-fixed{
    background-color: unset !important;
}

.padding-top-50{
    padding-top:50px;
}