/** TYPEFACES **/

@font-face {
    font-family: Onest;
    src: url(../fonts/Onest.ttf);
}

@font-face {
    font-family: Helvetica-Now-Display;
    src: url(../fonts/Helvetica\ Now\ Display\ -\ Extra\ Bold.ttf);
}

/** END OF TYPEFACES **/

/** ANIMATIONS **/

@keyframes fade-in {
        0% {
          opacity: 0;
        }
        100% {
          opacity: 1;
        }
}

@keyframes fade-out {
        to {
          opacity: 0;
          visibility: hidden;
        }
}

@keyframes pulsate-once {
        0% {
          transform: scale(0.8);
          opacity: 0.3;
        }
        50% {
          transform: scale(1.2);
          opacity: 1;
        }
        100% {
          transform: scale(1);
          opacity: 1;
        }
}

@keyframes slide-in-left {
        0% {
          opacity: 0;
          transform: translateX(-30px);
        }
        100% {
          opacity: 1;
          transform: translateX(0);
        }
}

@keyframes slide-in-right {
        0% {
          opacity: 0;
          transform: translateX(30px);
        }
        100% {
          opacity: 1;
          transform: translateX(0);
        }
}

/** END OF ANIMATIONS **/

/** MAIN CLASSES **/

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.onest {
    font-family: Onest;
}

.helvetica-nd {
    font-family: Helvetica-Now-Display;
}

.font-small {
    font-size: 0.8rem;
}

.font-default {
    font-size: 1rem;
}

.font-big {
    font-size: 1.2rem;
}

.weight-light {
    font-weight: 200;
}

.weight-medium {
    font-weight: 400;
}

.weight-big {
    font-weight: 600;
}

/** END OF MAIN CLASSES **/

/** COLOR CLASSES **/

.text-white {
    color: white;
}

.bg-white {
    background-color: white;
}

.text-offwhite {
    color: #666666;
}

.bg-offwhite {
    background-color: #666666;
}

.text-gray {
    color: #999999;
}

.bg-gray {
    background-color: #999999;
}

.text-offgray {
    color: #292929;
}

.bg-offgray {
    background-color: #292929;
}

.text-darkgray {
    color: #171717;
}

.bg-darkgray {
    background-color: #171717;
}

.light-boxshadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/** END OF COLOR CLASSES **/

/** SPLASH SCREEN**/

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fade-out 0.5s ease-in-out 0.8s forwards;
}

#splash-screen i {
    color: white;
    animation: pulsate-once 0.8s ease-in-out forwards;
}

/** BODY **/

body {
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

/** LOGIN CONTAINER **/

#login-container {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fade-in 0.8s ease-out 2s both;
}

/** SYSTEM TITLE **/

#system-title {
    text-align: center;
    gap: 12px;
    align-items: center;
}

#system-logo {
    height: 80px;
    width: auto;
}

#system-title h1 {
    font-size: 2.5rem;
    color: #171717;
    margin: 0;
    line-height: 1.2;
}

#system-title p {
    font-size: 1rem;
    color: #666666;
    margin: 0;
    max-width: 500px;
}

/** LOGIN FORM **/

.login-form {
    width: 420px;
    gap: 24px;
}

/** ERROR MESSAGE **/

.error-message {
    background-color: #fee;
    border: 2px solid #fcc;
    border-radius: 6px;
    padding: 14px 16px;
    gap: 12px;
    align-items: center;
    animation: shake 0.4s ease-in-out;
}

.error-message i {
    color: #c33;
    font-size: 1.2rem;
}

.error-message span {
    color: #c33;
    font-size: 0.9rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.login-form .form-group {
    gap: 8px;
}

.login-form .form-group label {
    font-size: 0.875rem;
    color: #292929;
    font-weight: 600;
}

.login-form .form-group input {
    font-size: 0.95rem;
    padding: 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    outline: none;
    color: #171717;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-form .form-group input::placeholder {
    color: #9ca3af;
}

.login-form .form-group input:focus {
    border-color: #171717;
    box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.1);
}

.login-form .btn-login {
    box-sizing: border-box;
    background-color: #171717;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-form .btn-login:hover {
    background-color: #292929;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.login-form .btn-login:active {
    transform: translateY(0);
}

/** PARTNERSHIP LOGOS **/

#partnership-logos {
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

#partnership-logos img {
    height: 56px;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}

#partnership-logos img:hover {
    opacity: 1;
}

#partnership-logos span {
    font-size: 1.8rem;
    color: #d1d5db;
}

/** SUCCESS TOAST **/

.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: #171717;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    z-index: 2000;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification i {
    color: #4CAF50;
    font-size: 1.3rem;
}

.toast-notification span {
    font-size: 0.95rem;
}

/** M
OBILE WARNING **/

#mobile-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #171717;
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
    z-index: 999;
    gap: 20px;
}

#mobile-warning i {
    color: white;
    margin-bottom: 10px;
}

#mobile-warning h2 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

#mobile-warning p {
    font-size: 1rem;
    line-height: 1.6;
    color: #999999;
    max-width: 400px;
    margin: 0;
}

/** MOBILE MEDIA QUERY **/

@media screen and (max-width: 768px) {
    #mobile-warning {
        display: flex;
    }
    
    header, main {
        display: none;
    }
}
