/**
 * Custom styles for Contractor Dashboard
 */

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #1a202c;
}

/* Custom focus styles */
*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 100, 100, 0.3);
}

/* Contractor card hover effect */
.contractor-card {
    transition: all 0.2s ease-in-out;
}

.contractor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Form element focus styles */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 100, 100, 0.3);
    border-color: #fc8181;
}

/* Custom checkbox styles */
input[type="checkbox"] {
    cursor: pointer;
}

/* Utility classes */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}
