html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.f {
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(238, 184, 225, 1.0) 0%,
            rgba(208, 112, 181, 1.0) 33%,
            rgba(152, 86, 213, 1.0) 66%,
            rgba(255, 219, 210, 0.894) 100%
    );
    /*background-size: 400% 400%;*/
    /*animation: gradient-animation 10s ease infinite;*/
}

/*@keyframes gradient-animation {*/
/*    0% {*/
/*        background-position: 0% 50%;*/
/*    }*/
/*    50% {*/
/*        background-position: 100% 50%;*/
/*    }*/
/*    100% {*/
/*        background-position: 0% 50%;*/
/*    }*/
/*}*/

/* Loading indicator styles */
#loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    max-width: 330px;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#loading-spinner {
    width: 280px;
    height: 10px;
    margin: 20px auto 20px;
    position: relative;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

#app-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    top: -55px; /* Position above the progress bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001; /* Higher z-index to ensure it's on top */
}

#loading-text {
    color: #555;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-top: 20px;
}

#error-text {
    color: #ff5252;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

#retry-button {
    background: linear-gradient(to right, #DD71E5, #9856D5);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    margin-top: 15px;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.loading-icon {
    animation: fadeIn 1.5s infinite alternate;
}

#loading-container{
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

flutter-view {
    pointer-events: none;
    -webkit-transition: opacity 0.6s ease-in-out;
    -moz-transition: opacity 0.6s ease-in-out;
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
}