/* ============================================
   Construction Control - Custom Styles
   ============================================ */

:root {
    --construction-orange: #e67e22;
    --construction-dark:   #2c3e50;
}

body {
    background: #f4f6f9;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 130px);
}

/* Navbar accent */
.navbar.bg-dark {
    background: linear-gradient(90deg, #1f2d3d 0%, #2c3e50 100%) !important;
}

/* Login card */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6075 100%);
    padding: 20px;
}

.login-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    color: var(--construction-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
}
.login-card .login-sub {
    text-align: center;
    color: #888;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* 3D button (mantendo seu padrão) */
.global-botao-3d {
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
    transition: all .15s ease;
}
.global-botao-3d:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

/* Cards */
.dash-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.dash-card .icon {
    font-size: 2.4rem;
    opacity: .85;
}

/* Tables */
.table thead th {
    background: var(--construction-dark);
    color: #fff;
    border: none;
}

/* Subcontract photo */
.sub-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}
.sub-photo-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
}

/* Status badges */
.badge-pending   { background: #f39c12; }
.badge-approved  { background: #27ae60; }
.badge-paid      { background: #27ae60; }
.badge-rejected  { background: #c0392b; }
.badge-active    { background: #2980b9; }
.badge-sent    { background: #2980b9; }
.badge-completed { background: #16a085; }
.badge-cancelled { background: #7f8c8d; }

.modal-content {
    border-radius: 14px;
    border: none;
}
.modal-header {
    background: var(--construction-dark);
    color: #fff;
    border-radius: 14px 14px 0 0;
}
.modal-header .btn-close { filter: invert(1); }
