* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

.auth-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 35px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    margin-bottom: 25px;
}

.logo img {
    max-width: 130px;
    height: auto;
}

h2 {
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
    font-size: 24px;
}

.auth-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

input:focus {
    border-color: #4a90e2;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.btn-primary {
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 0;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(74, 144, 226, 0.25);
}

.btn-primary:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(74, 144, 226, 0.3);
}

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

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.auth-links a {
    text-decoration: none;
    font-size: 14px;
    color: #4a90e2;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #3a7bc8;
}

.text-muted {
    color: #777;
}

.footer {
    margin-top: 25px;
    font-size: 13px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.auth-error, .auth-success {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
}

.auth-error {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.auth-success {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

/* CLI Message Styles */
.cli-message {
    background-color: #f2f2f2;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    display: none; /* Initially hidden, will be shown by JavaScript if needed */
    text-align: left;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.cli-message h3 {
    color: #c42b2b;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cli-message p {
    margin-bottom: 12px;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
}

.cli-message p:last-child {
    margin-bottom: 0;
}

.download-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.download-link:hover {
    text-decoration: underline;
    color: #3a7bc8;
}
