﻿:root {
    /*fonts*/
    --large-font-size: 16px;
    --normal-font-size: 14px;
    --small-font-size: 12px;
    --font-family: "Open Sans", Arial, Helvetica, sans-serif;
    /*colors*/
    --color-green: #10E5B1;
    --color-blue: #005FFF;
    --color-blue-hover: #0056b3;
    --color-orange: #F15A24;
    --color-orange-hover: #d44f20;
    --color-red: #DE0000;
    --color-red-hover: #c82333;
    --color-gray: #cccccc;
    --color-light-gray: #F2F2F2;
    --color-navy: #0B1752;
}



.body-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    gap: 20px;
}

.head-content {
    flex: 0 0 auto;
    position: relative;
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

    .head-content .head-content-left {
        flex: 1 0 auto;
        display: flex;
        flex-flow: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
    }

        .head-content .head-content-left .event-top-info {
            flex: 1 0 auto;
            text-align: start;
/*            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: start;*/
        }

        .head-content .head-content-left #backBtn {
            font-size: 22px;
            width: 40px;
        }

    .head-content .fpbadgeWebIcon {
        width: 75px;
        margin-right: 10px;
    }

    .head-content .event-top-info .event-title,
    .head-content .event-top-info .event-date {
        font-family: 'Open Sans';
        font-weight: 800;
        font-size: 18px;
        color: #0B1556;
        text-align:start;
        margin: 0;
        padding: 0;
    }

    .head-content .event-top-info .event-date {
        color: white;
    }



.main-content {
    flex: 1 0 auto;
    position: relative;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: calc(100% - 100px);
    overflow-y: auto;
    
}

    .main-content > * {
        flex: 1 0 auto;
        display: flex;
        flex-flow: column nowrap;
        width: 85%;
        max-width: 100%;
        min-width: 600px;
        padding-bottom: 20px;
        height: 100%;
    }

    .container {
        position: relative;
        z-index: 1;
        /*padding: 40px 20px;*/
        margin: 0 auto;
        text-align: center;
    }

.header {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    color: var(--color-navy);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title {
    color: var(--color-navy);
    font-size: 32px;
    margin-bottom: 15px;
}

.date {
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: -15px;
}

.message {
    position: absolute;
    bottom: 40px;
    margin-top: 30px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    display:none;
}

    .message.show {
        display: block;
        opacity: 1;
    }

    .message.success {
        background: var(--color-green);
        color: #1a5d3f;
    }

    .message.error {
        background: rgba(255, 82, 82, 0.7);
        color: #8b1a1a;
    }
/*---------------------------- spinner -------------------------------------*/
*.loading {
    position: relative;
    padding-left: 2.2rem; /* Make space for spinner */
    background-color: #aaa !important;
    color: #fff !important;
    cursor: not-allowed;
}

    /* Spinner as a pseudo-element */
    *.loading::before {
        content: "";
        position: absolute;
        top: calc(50% - 11px);
/*        transform: translate(-50%, -50%); */        
        left: 20px;
        width: 22px;
        height: 22px;
        /* margin-top: -10px; */
        border: 2px solid var(--color-blue);
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fp-btn {
    width: 300px;
    background: var(--color-navy);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 35px;
    transition: all 0.3s ease;
}

    .fp-btn i,
    .fp-btn img
    {
        margin-right: 8px;
        width: 20px;
    }
    .fp-btn:hover {
        transform: translateY(-2px);
        background: #0f1d36;
    }

    .fp-btn:active {
        transform: translateY(0);
    }


.fp-btn.fp-btn-green {
    background-color: var(--color-green);
}
    .fp-btn.fp-btn-blue {
        background-color: var(--color-blue);
    }

    .fp-btn.fp-btn-yellow {
        background-color: var(--color-orange);
    }

    .fp-btn.fp-btn-light {
        background: white;
        color: #1a2849;
    }

    .fp-btn.fp-btn-light:hover {
        background: #f0f0f0;
    }


    .fp-btn.fp-btn-light {
        background: white;
        color: #1a2849;
    }

        .fp-btn.fp-btn-light:hover {
            background: #f0f0f0;
        }


    .fp-btn.fp-btn-dark {
        background: linear-gradient(135deg, #1a2849 0%, #0f1d36 100%);
        color: white;
        margin-top: 0px;
    }

        .fp-btn.fp-btn-dark:hover {
            background: linear-gradient(135deg, #25448a 0%, #1a2849 100%);
        }


/*.page-container{
    display:none;
}*/

@keyframes bob {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px); /* move slightly upward */
    }
}
