@font-face {
  font-family: 'Fredoka';
  src: url('fonts/Fredoka-Medium.tff') format('tff')
  font-weight: 500;
  font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #ab4b52;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-image {
    width: 230px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;  /* Increased spacing between image and button */
}

.login-button {
    width: 230px;
    background-color: #ab4b52;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}

.login-button:hover {
    background-color: #965157;
    transform: translateY(-1px);
}

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

#error-message {
    color: #ab4b52;
    margin-bottom: 15px;
}

#error-content {
    display: none;
}

#loading-content{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(248, 251, 250, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 300px;
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#loading-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    margin-top: auto;
}
.logo-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 25px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-size: 34px;
  font-family: 'Fredoka';
  color: #333;
}
