/* Custom styles for RamaPrint Fletëdërgesa System */

:root {
    --primary-color: #333333; /* Anthracite */
    --secondary-color: #555555;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-radius: 0.375rem;
}

/* Override Bootstrap primary color */
.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

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

/* General styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
}

/* Card styling */
.card {
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Table styling */
.table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(51, 51, 51, 0.05);
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(51, 51, 51, 0.25);
}

.btn {
    border-radius: var(--border-radius);
}

/* Print specific styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        margin: 0;
        padding: 0;
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    table.table-bordered {
        border: 1px solid #000;
    }
    
    table.table-bordered th, 
    table.table-bordered td {
        border: 1px solid #000;
    }
}

/* Custom Classes */
.logo-print {
    max-width: 200px;
    height: auto;
}

.fature-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.fature-footer {
    border-top: 2px solid var(--primary-color);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.table-artikuj th {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-title {
        font-size: 1.2rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* Custom animations */
.btn-hover-scale:hover {
    transform: scale(1.05);
}

.form-heading {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Completed document styles */
.table-success {
    background-color: #d4edda !important;
}

.table-success:hover {
    background-color: #c3e6cb !important;
}

.badge.bg-success {
    font-size: 0.875rem;
    padding: 0.5em 0.75em;
} 