@font-face {
    font-family: 'Sansation';
    src: url('/static/Sansation_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sansation';
    src: url('/static/Sansation_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Sansation', Arial, sans-serif;
}

body.login {
    background: url('/static/datacenter-background.png') no-repeat center center fixed;
    background-size: cover;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.login-box {
    background: rgba(255, 183, 183, 0.53);
    padding: 20px;
    border-radius: 20px;
    text-align: right;
    width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    width: 130px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-box input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Sansation', Arial, sans-serif;
    background: rgba(142, 109, 109, 0.71);
    color: white;
    text-align: left;
}

.login-box input::placeholder {
    color: white;
    font-family: 'Sansation', Arial, sans-serif;
}

.button-container {
    display: flex;
    justify-content: flex-end;
}

.login-box button {
    width: 80px;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 212, 212, 1);
    color: #4b2e83;
    font-size: 14px;
    font-family: 'Sansation', Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.login-box button:hover {
    background: rgba(255, 212, 212, 0.8);
}
