/* sgat.css - Identidade visual do SGAT */

@import url('https://fonts.googleapis.com/css?family=Inter:400,600&display=swap');

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
    --primary: #e64a19;
    --primary-dark: #bf360c;
    --background: #f5f7fa;
    --surface: #fff;
    --text: #222;
    --danger: #d32f2f;
}

* { box-sizing: border-box; }
body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.login-container {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 6px 28px #0002;
    padding: 38px 30px 32px 30px;
    max-width: 370px;
    width: 100%;
    text-align: center;
}

.logo {
    margin-bottom: 18px;
    height: 50px;
}

h1 {
    font-size: 1.7rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.system-name {
    font-size: 1.08rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 26px;
    letter-spacing: 0.5px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 13px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 1.04rem;
    margin-bottom: 5px;
    transition: border 0.2s;
    background: #fafbfc;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: var(--primary);
    outline: none;
}

button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.add-button {
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 13px;
    background-color: #e0e0e0;
    color: #000;
    border: 1px solid #666;
    cursor: pointer;
}

.add-button:hover {
    background-color: #d5d5d5;
}

button:hover {
    background: var(--primary-dark);
}

.error-message {
    color: var(--danger);
    background: #fbeaea;
    padding: 9px 0;
    border-radius: 7px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer {
    margin-top: 24px;
    color: #999;
    font-size: 0.97rem;
}

@media (max-width: 500px) {
    .login-container { padding: 18px 6px; }
}

        .acesso-negado {
            max-width: 500px;
            margin: 100px auto;
            padding: 30px;
            background: #fefefe;
            border: 1px solid #ccc;
            border-left: 8px solid #cc0000;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            text-align: center;
            font-family: Arial, sans-serif;
        }
        .acesso-negado h2 {
            color: #cc0000;
            margin-bottom: 10px;
        }
        .acesso-negado p {
            margin-bottom: 20px;
            font-size: 16px;
        }
        .acesso-negado a {
            display: inline-block;
            padding: 10px 20px;
            background: #cc0000;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
        }
        .acesso-negado a:hover {
            background: #a00000;
        }
