/* TachograafService Factuursysteem Styles */

.tachograaf-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
}

/* Basic resets voor WordPress admin */
.tachograaf-app * {
    box-sizing: border-box;
}

/* Loading spinner */
.tachograaf-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Tailwind-achtige utility classes - minimaal voor basic styling */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.grid { display: grid; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-900 { background-color: #111827; }
.bg-white { background-color: white; }
.text-white { color: white; }
.text-gray-700 { color: #374151; }
.text-orange-500 { color: #f97316; }
.rounded-lg { border-radius: 0.5rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-3xl { font-size: 1.875rem; }
.text-sm { font-size: 0.875rem; }

/* Buttons */
button, .button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-block;
}

.bg-orange-500 {
    background-color: #f97316;
    color: white;
}

.bg-orange-500:hover {
    background-color: #ea580c;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 0.75rem 1.5rem;
    background-color: #f9fafb;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
}

td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

tr:hover {
    background-color: #f9fafb;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-betaald {
    background-color: #dcfce7;
    color: #166534;
}

.status-openstaand {
    background-color: #fef3c7;
    color: #92400e;
}

.status-verlopen {
    background-color: #fee2e2;
    color: #991b1b;
}
