:root {
    --primary-color: #F29100; /* Laranja AFTech */
    --secondary-color: #1A1A1A; /* Escuro AFTech */
    --accent-color: #757575; /* Cinza AFTech */
    --bg-light: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: var(--secondary-color) !important;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(242, 145, 0, 0.3);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container:not(nav .container) {
    max-width: 1100px;
    width: 95%;
    margin: 20px auto;
}

.form-container {
    max-width: 650px !important;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.table-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.containerlg {
    width: 800px;
    font-family: 'Inter', 'Roboto', 'Segoe UI', Tahoma, sans-serif;
}

.txtcentralizado {
    text-align: center;
}

.label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.btn {
    border-radius: 8px;
    width: 200px;
    font-weight: 500;
}

.assinatura {
    border-top: 2px solid var(--border-color);
    margin-top: 50px;
    padding-top: 20px;
}

.assinatura, .txtass {
    text-align: center;
    float: right;
    width: 300px;
    font-weight: 600;
}

.recibo {
    font-family: 'Roboto Slab', serif;
    width: 800px;
    margin: auto;
    background: #fdfdfd;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.recibo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text fill="%23f3f4f6" font-size="20" y="50%">RECIBO</text></svg>') no-repeat center;
    opacity: 0.05;
    pointer-events: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 10px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.input-group-text {
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-weight: 600;
}

.table a {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    margin: 0 5px;
    display: inline-block;
}

.table a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.table a.text-danger {
    color: #ef4444;
}

.table a.text-danger:hover {
    color: #b91c1c;
}

.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
}

.table td {
    border-color: var(--border-color);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

@media only screen and (max-width: 800px) {
    .container, .btn {
        width: 100%;
    }
    .recibo {
        width: 100%;
        padding: 20px;
    }
    .assinatura, .txtass {
        width: 100%;
        float: none;
    }
    .label2 {
        margin-top: 10px;
    }
}