/* public/assets/css/style.css */

:root {
    --primary-color: #ff6b00;
    /* Approximate Orange from Logo */
    --secondary-color: #ffcc00;
    /* Approximate Yellow from Logo */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --text-color: #333;
    --font-family: 'Inter', sans-serif;
    /* Assuming Inter or similar modern font */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: #f4f6f9;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #e65c00;
    border-color: #d95300;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    max-width: 200px;
    /* Adjust based on logo aspect ratio */
    height: auto;
}

/* Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: var(--dark-color);
    color: white;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-header img {
    max-width: 120px;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    list-style: none;
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #c2c7d0;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: var(--primary-color);
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f4f6f9;
}

.top-navbar {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.main-content {
    padding: 2rem;
    overflow-y: auto;
}

/* Dashboard Cards */
.card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border-top: 3px solid var(--primary-color);
    min-width: 0;
}

.card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--dark-color);
}

/* Dynamic Form Fields */
.dynamic-field {
    display: none;
}

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-em_analise {
    background-color: #ffc107;
    color: #000;
}

.status-aprovado {
    background-color: #17a2b8;
    color: #fff;
}

.status-em_execucao {
    background-color: #28a745;
    color: #fff;
}

.status-paralisada {
    background-color: #dc3545;
    color: #fff;
}

.status-concluida,
.status-concluido {
    background-color: #007bff;
    color: #fff;
}

.status-rejeitado {
    background-color: #495057;
    color: #fff;
}

.status-pending {
    background-color: #ff9800;
    color: #fff;
}