/* Basic Styles for Application */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f3f4f6;
    color: #1a202c;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Forms */
form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 32rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Buttons */
.btn,
button[type="submit"],
button,
.button,
.primary-button,
.secondary-button,
.danger-button,
.warning-button {
    display: inline-block;
    background-color: #6366f1;
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn:hover,
button[type="submit"]:hover,
.button:hover,
.primary-button:hover {
    background-color: #4f46e5;
}

.btn-danger,
.danger-button {
    background-color: #ef4444;
}

.btn-danger:hover,
.danger-button:hover {
    background-color: #dc2626;
}

.btn-link,
.link {
    color: #6366f1;
    text-decoration: underline;
    font-size: 0.875rem;
}

.btn-link:hover {
    color: #4f46e5;
}

/* Breeze Components */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-white {
    background-color: #fff;
}

.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-md {
    max-width: 28rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.overflow-hidden {
    overflow: hidden;
}

.sm\:rounded-lg {
    border-radius: 0.5rem;
}

.w-full {
    width: 100%;
}

.sm\:max-w-md {
    max-width: 28rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.sm\:pt-0 {
    padding-top: 0;
}

.sm\:justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.fill-current {
    fill: currentColor;
}

.text-gray-500 {
    color: #6b7280;
}

/* Fix for Laravel logo size */
.w-20 {
    width: 5rem;
    max-width: 100px; /* Limit maximum size */
}

.h-20 {
    height: 5rem;
    max-height: 100px; /* Limit maximum size */
}

/* Dashboard specific styles */
.dashboard-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.p-6 {
    padding: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.leading-tight {
    line-height: 1.25;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-800 {
    color: #1f2937;
}

.flex {
    display: flex;
    margin-top: auto;
    margin-bottom: auto;
}

.flex-col {
    flex-direction: column;
}

.font-sans {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.text-gray-900 {
    color: #111827;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text Input Components */
.text-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
}

.input-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.input-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Utilities */
.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.ms-4 {
    margin-left: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
}

.justify-end {
    justify-content: flex-end;
}

.items-center {
    align-items: center;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Reset for Blade components */
[x-cloak] {
    display: none !important;
}

x-input-label, 
x-text-input, 
x-input-error, 
x-primary-button {
    all: revert;
}

/* Error Messages */
.error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Header & Navigation */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #6366f1;
}

/* Guest Layout */
.guest-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-card h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* For form fields in our register page */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

/* Tailwind-like classes for spacing, typography, etc. */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-medium { font-weight: 500; }
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }
.rounded-md { border-radius: 0.375rem; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* Links and anchors */
a {
    color: #6366f1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.underline {
    text-decoration: underline;
}

/* Fix for Breeze components */
.inline-flex {
    display: inline-flex;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.focus\:ring-offset-2:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(99, 102, 241, 0.5);
}

.focus\:ring-indigo-500:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

.hover\:text-gray-900:hover {
    color: #111827;
}

/* Styles for the dashboard page items */
.dashboard-links {
    list-style-type: none;
    padding: 0;
}

.dashboard-links li {
    margin-bottom: 0.75rem;
}

.dashboard-links a {
    display: inline-block;
    padding: 0.5rem 0;
    font-weight: 500;
}

.dashboard-links a:hover {
    color: #4f46e5;
}

/* Logo container styling */
.logo-container {
    max-width: 120px;
    margin-bottom: 1rem;
}

.logo-container svg {
    max-width: 100%;
    height: auto;
}

/* Admin Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: #333;
}

.stat-card p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.stat-card i {
    color: #f97316;
}

.dashboard-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Admin Dashboard Button Styles */
.btn-primary {
    background-color: #f97316;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #ea580c;
}

/* Admin Dashboard Table Styles */
table.min-w-full {
    width: 100%;
    border-collapse: collapse;
}

table.min-w-full th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

table.min-w-full td, 
table.min-w-full th {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: middle;
}

table.min-w-full tr.border-b {
    border-bottom: 1px solid #e5e7eb;
}

table.min-w-full tr:hover {
    background-color: #f9fafb;
}

/* Status badges */
.rounded-full {
    border-radius: 9999px;
}

/* Admin Activity List */
ul li.border-b {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
}

/* Responsive Admin Dashboard */
@media (max-width: 640px) {
    .dashboard-card {
        padding: 1rem;
    }
    
    table.min-w-full th,
    table.min-w-full td {
        padding: 0.5rem;
    }
    
    .btn-primary {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Admin Hover Effects */
.transform {
    transition: transform 0.2s;
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:text-blue-500:hover {
    color: #3b82f6;
} 