/* Custom CSS for PARALEX */

/* Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.5rem;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KPGcgZmlsbD0iIzAwMCIgZmlsbC1vcGFjaXR5PSIwLjAzIj4KPGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iNCIvPgo8L2c+CjwvZz4KPC9zdmc+');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Texto específico da hero section, excluindo o dashboard-preview */
.hero-section .hero-content * {
    color: #ffffff !important;
}

.hero-section .hero-content h1 {
    color: #ffffff !important;
    font-weight: bold !important;
}

.hero-section .hero-content p {
    color: #ffffff !important;
}

.hero-section .hero-content span {
    color: #ffffff !important;
}

.hero-section .hero-content .text-warning {
    color: #ffc107 !important;
}

.hero-section .hero-content .feature-item span {
    color: #ffffff !important;
}

.dashboard-preview {
    max-width: 400px;
    position: relative;
    z-index: 2;
}

/* Dashboard preview card colors */
.dashboard-preview .text-dark {
    color: #212529 !important;
}

.dashboard-preview .stat-card {
    color: white !important;
}

.dashboard-preview .stat-number {
    color: inherit !important;
}

.dashboard-preview .stat-label {
    color: inherit !important;
}

.dashboard-preview .process-item {
    background-color: #f8f9fa !important;
}

.dashboard-preview .process-item span {
    color: #212529 !important;
}

.dashboard-preview .badge {
    color: white !important;
}

.dot {
    width: 12px;
    height: 12px;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h5 {
    color: #212529 !important;
}

.feature-card p {
    color: #6c757d !important;
}

/* Login Page */
.login-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.login-card {
    max-width: 400px;
    margin: 0 auto;
}

.input-group-text {
    background-color: transparent !important;
    border-color: #dee2e6;
}

.form-control {
    border-color: #dee2e6;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.demo-credentials {
    border: 1px solid #e9ecef;
}

/* Dashboard Stats Cards */
.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stats-icon {
    opacity: 0.7;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Attention Items */
.attention-item {
    transition: all 0.3s ease;
}

.attention-item:hover {
    background-color: #ffffff !important;
    box-shadow: var(--shadow);
}

.attention-icon {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
}

/* Quick Actions */
.quick-action-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-action-card:hover {
    background-color: #ffffff !important;
    box-shadow: var(--shadow);
    border-color: #dee2e6;
    transform: translateY(-2px);
}

/* Table Improvements */
.table th {
    border-top: none;
    font-weight: 600;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    box-shadow: 0 0.125rem 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3);
    transform: translateY(-1px);
}

.btn-warning {
    box-shadow: 0 0.125rem 0.25rem rgba(255, 193, 7, 0.25);
}

.btn-warning:hover {
    box-shadow: 0 0.5rem 1rem rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .dashboard-preview {
        margin-top: 2rem;
        max-width: 300px;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .stats-card {
        text-align: center;
    }
    
    .quick-action-card {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.hover-shadow:hover {
    box-shadow: var(--shadow) !important;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
}

/* CTA Section */
.cta-section {
    color: white !important;
}

.cta-section h2,
.cta-section p {
    color: white !important;
}

/* Process and Document Status Colors */
.bg-status-pending {
    background-color: var(--secondary-color) !important;
}

.bg-status-progress {
    background-color: var(--info-color) !important;
}

.bg-status-warning {
    background-color: var(--warning-color) !important;
}

.bg-status-success {
    background-color: var(--success-color) !important;
}

.bg-status-danger {
    background-color: var(--danger-color) !important;
} 