/* CLIP PEDIDOS - DESIGN SYSTEM V2 */

:root {
    --primary: #006064;
    --primary-light: #00838f;
    --secondary: #00BCD4;
    --bg-body: #f4f6f8;
    --text-main: #2d3748;
    --text-muted: #718096;
    --border: #e2e8f0;
    --white: #ffffff;
    --danger: #e53e3e;
    --warning: #ed8936;
    --success: #48bb78;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sidebar-width: 260px;
}

* { box-sizing: border-box; }
body {
    font-family: 'Roboto', 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* LAYOUT */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0; top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}
.sidebar-logo {
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; gap: 10px;
}
.sidebar-menu { flex: 1; padding-top: 20px; }
.menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.2s;
    font-size: 15px;
}
.menu-item:hover, .menu-item.active {
    background-color: rgba(255,255,255,0.1);
    color: white; border-right: 4px solid var(--secondary);
}
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* MAIN CONTENT */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 30px;
    width: calc(100% - var(--sidebar-width));
}

.page-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px;
}
.page-title { font-size: 24px; color: var(--text-main); font-weight: 700; margin: 0; }
.breadcrumb { color: var(--text-muted); font-size: 12px; margin-top: 5px; }

/* COMPONENTS */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* TABLES */
.table { width: 100%; border-collapse: collapse; }
.table th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 16px;
    text-align: left;
}
.table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }

/* UTILS */
.text-right { text-align: right; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.flex-row { display: flex; gap: 10px; }
.badge {
    padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: bold;
}
.badge-success { background: #c6f6d5; color: #22543d; }
.badge-warning { background: #feebc8; color: #744210; }
.badge-danger { background: #fed7d7; color: #742a2a; }

/* Login Page Specifics */
.login-body {
    display: flex; justify-content: center; align-items: center; height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(0,0,0,0.8) 100%);
}
.login-card {
    background: white; padding: 40px; border-radius: 12px;
    width: 400px; text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.profile-select {
    display: flex; gap: 20px; justify-content: center; margin-top: 30px;
}
.profile-option {
    border: 2px solid var(--border);
    padding: 20px; border-radius: 8px; cursor: pointer;
    width: 140px; transition: 0.2s;
}
.profile-option:hover { border-color: var(--primary); background: #f0fdfe; }
.profile-option i { font-size: 30px; color: var(--primary); margin-bottom: 10px; display: block; }
.profile-option h4 { margin: 0; font-size: 14px; }
