/* --- Estilo Geral --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
}

/* --- Cabeçalho Padrão --- */
.header {
    background-color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}
.header-left, .header-right { flex: 1; }
.header-center { flex: 2; text-align: center; }
.header-right { text-align: right; }
.header-icon { font-size: 24px; text-decoration: none; color: #333; padding: 0 10px; }
.logo { height: 35px; vertical-align: middle; }

/* --- Container Principal --- */
.main-container { padding: 20px; }
.page-title { font-size: 28px; font-weight: bold; color: #1c1c1e; margin-top: 0; margin-bottom: 25px; }

/* --- Estilos do Login --- */
.login-container { background-color: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 90%; max-width: 400px; text-align: center; margin: 40px auto; }
.input-group { margin-bottom: 15px; text-align: left; }
label { display: block; margin-bottom: 5px; color: #555; font-weight: bold; }
input[type="text"], input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
button[type="submit"] { width: 100%; padding: 12px; background-color: #000000; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 10px; }

/* --- Estilos do Dashboard --- */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dashboard-card { background-color: white; padding: 20px; border-radius: 8px; border: 1px solid #e9ecef; }
.dashboard-card .card-title { font-size: 14px; color: #6c757d; margin-top: 0; margin-bottom: 8px; font-weight: 600; }
.dashboard-card .card-value { font-size: 28px; font-weight: bold; color: #212529; margin: 0; }
.dashboard-card .card-subtitle { font-size: 14px; color: #6c757d; margin-top: 5px; }
.action-button { display: block; max-width: 300px; margin: 30px auto 0 auto; padding: 15px; background-color: #000000; color: white; text-align: center; text-decoration: none; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; }

/* --- Cards de Produção (ESTILO APROVADO) --- */
.card-container { display: flex; flex-direction: column; gap: 15px; }
.production-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 20px;
    position: relative; /* Essencial para a alça */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-content { flex-grow: 1; }
.card-title-main { font-size: 18px; font-weight: bold; margin: 0 0 10px 0; padding-right: 30px; }
.card-detail { font-size: 14px; color: #555; margin: 4px 0; line-height: 1.4; }
.card-detail strong { color: #1c1c1e; }
.action-button-card {
    width: auto;
    padding: 10px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}
.drag-handle {
    cursor: grab;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    padding: 10px;
    margin-left: 15px;
}
.drag-handle:active { cursor: grabbing; }
.card-arrastando { opacity: 0.6; background: #dcdcdc; }