/* =============================================
   MINHA TELECOM - Estilos Globais
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
    min-height: 100vh;
}

/* --- TELA DE LOGIN --- */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    color: #0d47a1;
    font-size: 28px;
    margin-bottom: 4px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 14px;
}

.login-box label {
    display: block;
    text-align: left;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
    margin-top: 16px;
}

.login-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}

.login-box input:focus {
    border-color: #1565c0;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-box button:hover {
    background: #0d47a1;
}

.alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert.erro {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}

/* --- CABEÇALHO DO PAINEL --- */
.topo {
    background: #0d47a1;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topo h2 {
    font-size: 20px;
    font-weight: 600;
}

.topo a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 4px;
}

.topo a:hover {
    background: rgba(255,255,255,0.25);
}

/* --- CONTEÚDO --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 16px;
    color: #0d47a1;
    font-size: 18px;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 8px;
}

/* --- TABELAS --- */
table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: #e3f2fd;
    text-align: left;
    padding: 10px 12px;
    font-size: 13px;
    color: #0d47a1;
    border-bottom: 2px solid #bbdefb;
}

table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

table tr:hover {
    background: #f5f5f5;
}

/* --- FORMULÁRIOS --- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1565c0;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: #1565c0;
    color: #fff;
}

.btn-primary:hover {
    background: #0d47a1;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover {
    background: #b71c1c;
}