*
* VagaPrime
* Estilos Customizados
*/
/* ===== Variáveis CSS ===== */
:root {

    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}


/* ===== Reset e Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #f5f5f5;
    padding-top: 76px; /* Espaço para navbar fixa */
}

/* ===== Navigation ===== */
.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

    .navbar-brand i {
        margin-right: 0.5rem;
    }

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

.hero-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== Features Section ===== */
.features-section {
    background-color: #ffffff;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.feature-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #212529;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-color);
}

/* ===== Main Content ===== */
.main-content {
    min-height: calc(100vh - 76px - 200px);
}

/* ===== Cards ===== */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.card-header {
    background-color: var(--light-color);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* ===== Tables ===== */
.table {
    margin-bottom: 0;
}

    .table thead th {
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.875rem;
        color: var(--secondary-color);
    }

    .table tbody tr {
        transition: background-color 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: var(--light-color);
        }

/* ===== Badges ===== */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

    .btn i {
        margin-right: 0.25rem;
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }

/* ===== Forms ===== */
.form-label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

    .form-control.is-invalid,
    .form-select.is-invalid {
        border-color: var(--danger-color);
    }

    .form-control.is-valid,
    .form-select.is-valid {
        border-color: var(--success-color);
    }

/* ===== Status Badges ===== */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pendente {
    background-color: #fff3cd;
    color: #856404;
}

.status-em-analise {
    background-color: #cfe2ff;
    color: #084298;
}

.status-aprovada {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-rejeitada {
    background-color: #f8d7da;
    color: #842029;
}

/* ===== Action Buttons ===== */
.btn-action {
    padding: 0.25rem 0.5rem;
    margin: 0 0.125rem;
    border-radius: 0.5rem;
}

/* ===== Modals ===== */
.modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
}

/* ===== Empty State ===== */
#emptyState {
    color: var(--secondary-color);
}

/* ===== Footer ===== */
footer {
    margin-top: auto;
}

    footer h5 {
        margin-bottom: 0.5rem;
    }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-icon {
        font-size: 8rem;
        margin-top: 2rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .table-responsive {
        font-size: 0.875rem;
    }

    .btn-action {
        display: block;
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* ===== Loading Spinner ===== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* ===== Login Page ===== */
.login-page {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-card {
    background: white;
    border-radius: 0.5rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.login-icon {
    font-size: 4rem;
    color: #0d6efd;
}

/* ===== File Upload ===== */
.form-control[type="file"] {
    padding: 0.5rem;
}

    .form-control[type="file"]::-webkit-file-upload-button {
        padding: 0.5rem 1rem;
        margin-right: 1rem;
        background-color: #0d6efd;
        color: white;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        font-weight: 500;
    }

        .form-control[type="file"]::-webkit-file-upload-button:hover {
            background-color: #0a58ca;
        }

/* ===== Utilities ===== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
