
.login-section {
    background: white;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(2, 61, 114, 0.12);
    display: block;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    background: #023d72;
    padding: 32px 40px 28px;
}

.login-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.login-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.login-body {
    padding: 32px 40px 40px;
}

.login-form {
    max-width: 300px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #023d72;
    font-size: 0.875rem;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #023d72;
    box-shadow: 0 0 0 3px rgba(2, 61, 114, 0.15);
}

textarea {
    height: 150px;
    resize: vertical;
    font-family: 'Courier New', monospace;
}

.config-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    border: none;
}

.config-section h3 {
    color: #023d72;
    margin-bottom: 15px;
    border-bottom: 2px solid #023d72;
    padding-bottom: 5px;
}

.login-section .btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    background: #023d72;
    color: #ffffff;
    transition: background 0.2s;
    justify-content: center;
}

.login-section .btn:hover {
    background: #012f59;
}

.status-message {
    padding: 10px;
    margin: 10px 0 0;
    border-radius: 6px;
    display: none;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid:last-child {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .brand {
        width: 100%;
    }

    .nav-container {
        width: 100%;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }
}