@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100);

#Main-Body {
    position: relative;
    margin: 0;
    top: 0px;
    bottom: 0px;
    width: 100%;
    min-height: 90px;
    background-repeat: repeat;
    z-index: 100;
    overflow-x: hidden;
}
/*=============== Less ===================*/
/* Font sizes*/
/* Font colours*/
/* Colours*/
/* Fonts*/
/* Div Sizes*/
#Error-Container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    text-align: center;
}

    #Error-Container #Error-Header h1 {
        font-size: 2rem;
    }

    #Error-Container #Error-Header p {
        color: var(--muted);
    }

    #Error-Container #Error-Reference {
        background: var(--row-hover);
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 1rem 1.5rem;
    }

        #Error-Container #Error-Reference code {
            margin: 0 0.5rem;
            font-size: 0.9rem;
        }

        #Error-Container #Error-Reference .error-hint {
            font-size: 0.85rem;
            color: var(--muted);
            margin: 0.5rem 0 0;
        }

    #Error-Container #Error-Actions {
        display: flex;
        gap: 1rem;
    }
/* Seasonal Fun */
.snowflakes {
    width: 100%;
    height: 200px;
    position: absolute;
    top: -290px;
    left: 0;
}

i,
i:after,
i:before {
    background: white;
}

i {
    display: inline-block;
    -webkit-animation: snowflakes 3s linear 2s 20;
    -moz-animation: snowflakes 3s linear 2s 20;
    position: relative;
}

    i:after,
    i:before {
        height: 100%;
        width: 100%;
        content: ".";
        position: absolute;
        top: 0px;
        left: 0px;
        -webkit-transform: rotate(120deg);
    }

    i:before {
        -webkit-transform: rotate(240deg);
    }

@-webkit-keyframes snowflakes {
    0% {
        -webkit-transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
    }

    100% {
        -webkit-transform: translate3d(15px, 1200px, 0px) rotate(360deg) scale(0.6);
    }
}

.snowflakes i:nth-child(3n) {
    width: 16px;
    height: 4px;
    -webkit-animation-duration: 4s;
    -webkit-animation-iteration-count: 30;
    -webkit-transform-origin: right -45px;
}

.snowflakes i:nth-child(3n+1) {
    width: 24px;
    height: 6px;
    -webkit-animation-duration: 6s;
    -webkit-animation-iteration-count: 45;
    -webkit-transform-origin: right -30px;
}

.snowflakes i:nth-child(3n+2) {
    width: 32px;
    height: 8px;
    -webkit-animation-duration: 8s;
    -webkit-animation-iteration-count: 60;
    -webkit-transform-origin: right -15px;
}

.snowflakes i:nth-child(7n) {
    opacity: 0.3;
    -webkit-animation-delay: 0s;
    -webkit-animation-timing-function: ease-in;
}

.snowflakes i:nth-child(7n+1) {
    opacity: 0.4;
    -webkit-animation-delay: 1s;
    -webkit-animation-timing-function: ease-out;
}

.snowflakes i:nth-child(7n+2) {
    opacity: 0.5;
    -webkit-animation-delay: 1.5s;
    -webkit-animation-timing-function: linear;
}

.snowflakes i:nth-child(7n+3) {
    opacity: 0.6;
    -webkit-animation-delay: 2s;
    -webkit-animation-timing-function: ease-in;
}

.snowflakes i:nth-child(7n+4) {
    opacity: 0.7;
    -webkit-animation-delay: 2.5s;
    -webkit-animation-timing-function: linear;
}

.snowflakes i:nth-child(7n+5) {
    opacity: 0.8;
    -webkit-animation-delay: 3s;
    -webkit-animation-timing-function: ease-out;
}

.snowflakes i:nth-child(7n+6) {
    opacity: 0.9;
    -webkit-animation-delay: 3.5s;
    -webkit-animation-timing-function: ease-in;
}
/*=============== Generic fixed Calls ===================*/
input[type='file'] {
    opacity: 0;
}

#AttachBin {
    position: relative;
    float: left;
    width: 60px;
}

.fade {
    -o-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    /* ...and now for the proper property */
    transition: 0.3s;
}
/*Resizes things*/
ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

h1 {
    font-family: var(--font-sans);
    font-size: 3.75rem;
    color: var(--text);
}

label {
    padding: 5px;
    color: var(--text);
    font-size: 1.125rem;
    font-family: var(--font-sans);
}

input {
    padding: 5px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.125rem;
    font-family: var(--font-sans);
}
/*=============== Generic fixed Calls End ===================*/
/*================= NavBar ===================*/
/*=============== Main Section ===================*/
.main-section {
    z-index: 101;
    position: relative;
    /* ✅ Changed from absolute */
    margin: 0;
    margin-top: 80px;
    width: 100%;
    min-width: 840px;
    min-height: 400px;
    height: calc(100vh - 80px);
    /* ✅ Full height minus navbar */
    left: 0;
    overflow: visible;
    /* ✅ Changed from hidden */
    display: flex;
    /* ✅ Added for better layout */
    flex-direction: column;
}
/*=============== Main Section End ===================*/

/*=============== Footer ===================*/
.footer {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 24px;
    background: var(--panel);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--font-sans, "Spline Sans", system-ui, sans-serif);
    font-size: 0.75rem;
    text-align: center;
}

    .footer a {
        color: var(--muted);
        text-decoration: none;
    }
/*=============== Footer End ===================*/