﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(249, 249, 253);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 50px;
    margin: 21px 16px;
    vertical-align: middle;
}

.login-container {
    background-color: #fff;
    border: 1px solid #ececf2;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 24px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    user-select: none;
}

#loginForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 1rem;
    width: 100%;
}

label {
    text-transform: uppercase;
    font-weight: 600;
    color: #aeabbe;
    font-size: 12px;
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"] {
    display: flex;
    border-radius: 5px;
    border: 1px solid #c4c1d2;
    padding: 9px 15px;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    align-self: center;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: #667eea;
    }

.login-btn {
    position: relative;
    display: inline-block;
    line-height: 20px;
    padding: 10px 23px;
    outline: none !important;
    border: none;
    border-radius: 1000px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    background-color: #f47623;
    width: 50%;
    cursor: pointer;
}

    .login-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    user-select: none;
}

.loading {
    text-align: center;
    margin-top: 1rem;
    color: #667eea;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#content {
    transition: opacity 0.3s ease;
}