body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f8fa;
    color: #222;
}

#device-warning {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-content {
    background: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100vw;
}

.device-warning-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    max-width: 90vw;
}

.device-warning-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    border-radius: 22%;
}

.device-warning-subtitle {
    font-size: 1rem;
    color: #222;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

header {
  background: #3a86ff;
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 1rem;
    background: transparent;
    width: 100vw;
    box-sizing: border-box;
}

.login-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.login-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
    text-align: center;
}

.login-subtitle {
    font-size: 0.98rem;
    color: #6a6a6a;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
}

#login-header-group {
    transition: opacity 0.25s;
    opacity: 1;
}

#login-header-group.fade-out {
    opacity: 0;
    pointer-events: none;
}

.input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.input-group label {
    font-size: 0.98rem;
    color: #444;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.input-group input {
    padding: 0.85rem 1rem;
    border: 1px solid #d4d8e1;
    border-radius: 8px;
    font-size: 1.08rem;
    background: #f7f8fa;
    transition: border 0.2s;
    font-family: inherit;
}

.input-group input:focus {
    border: 1.5px solid #3a86ff;
    outline: none;
    background: #fff;
}

.login-button {
    width: 100%;
    background: #FF8800;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 0.85rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 2px 12px 0 rgba(255,136,0,0.09);
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, opacity 0.18s;
    outline: none;
    opacity: 1;
    text-align: center;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: block;
}

.login-button:active {
    background: #e36f00;
}

.login-button:focus {
    box-shadow: 0 0 0 2px #ffd6b3;
}

#download-link-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

#download-link, #download-link:visited, #download-link:hover, #download-link:focus, #download-link:active {
    text-decoration: none !important;
    outline: none;
}

.spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #eee;
    border-top: 3px solid #FF8800;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

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


.login-button:hover, .login-button:focus {
    background: #cc6e00;
}
