:root {
    --google-blue: #1a73e8;
    --google-blue-dark: #1557b0;
    --google-surface: #ffffff;
    --google-background: #f8f9fa;
    --google-on-surface: #202124;
    --google-secondary: #5f6368;
    --google-success: #137333;
    --google-success-light: #e6f4ea;
    --google-error: #d93025;
    --google-error-light: #fce8e6;
    --google-warning: #f9ab00;
    --google-warning-light: #fef7e0;
    --google-border: #dadce0;
    --google-hover: #f1f3f4;
    --google-ripple: rgba(26, 115, 232, 0.12);
    
    --elevation-1: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --elevation-2: 0 1px 2px 0 rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15);
    --elevation-8: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.material-card {
    background-color: var(--google-surface);
    border-radius: 8px;
    box-shadow: var(--elevation-1);
    overflow: hidden;
    transition: box-shadow 0.2s ease-out;
}

.material-card:hover {
    box-shadow: var(--elevation-2);
}

.material-card.elevated {
    box-shadow: var(--elevation-8);
}

.material-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 64px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.25px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    overflow: hidden;
    outline: none;
}

.material-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--google-ripple);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.material-button:active:before {
    width: 300px;
    height: 300px;
}

.material-button.button-primary {
    background-color: var(--google-blue);
    color: var(--google-surface);
}

.material-button.button-primary:hover {
    background-color: var(--google-blue-dark);
    box-shadow: var(--elevation-1);
}

.material-button.button-secondary {
    background-color: var(--google-surface);
    color: var(--google-blue);
    border: 1px solid var(--google-border);
}

.material-button.button-secondary:hover {
    background-color: var(--google-hover);
}

.material-button.button-text {
    background-color: transparent;
    color: var(--google-blue);
    min-width: 48px;
    padding: 0 8px;
}

.material-button.button-text:hover {
    background-color: var(--google-hover);
}

.material-button.button-approve {
    background-color: var(--google-success);
    color: var(--google-surface);
}

.material-button.button-approve:hover {
    background-color: #0d652d;
}

.material-button.button-reject {
    background-color: var(--google-error);
    color: var(--google-surface);
}

.material-button.button-reject:hover {
    background-color: #c5221f;
}

.material-button.button-view {
    background-color: transparent;
    color: var(--google-secondary);
    border: 1px solid var(--google-border);
    min-width: auto;
    padding: 0 12px;
}

.material-button.button-view:hover {
    background-color: var(--google-hover);
}

.material-button .button-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

.material-button.icon-only .button-icon {
    margin: 0;
}

.material-button[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.material-data-table-container {
    overflow-x: auto;
    border-radius: 8px;
}

.material-data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--google-surface);
}

.material-data-table thead {
    background-color: var(--google-background);
}

.material-data-table th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: var(--google-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--google-border);
}

.material-data-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--google-on-surface);
    border-bottom: 1px solid var(--google-border);
}

.material-data-table tbody tr {
    transition: background-color 0.2s ease-out;
}

.material-data-table tbody tr:hover {
    background-color: var(--google-hover);
}

.material-data-table tbody tr:last-child td {
    border-bottom: none;
}

.material-chip {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-transform: uppercase;
}

.material-chip.pending,
.material-chip.chip-pending {
    background-color: #fef7e0;
    color: #f9ab00;
}

.material-chip.approved,
.material-chip.chip-approved {
    background-color: #e6f4ea;
    color: #137333;
}

.material-chip.rejected,
.material-chip.chip-rejected {
    background-color: #fce8e6;
    color: #d93025;
}

.material-search-field {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.material-search-field input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 16px;
    border: 1px solid var(--google-border);
    border-radius: 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--google-on-surface);
    background-color: var(--google-surface);
    transition: all 0.2s ease-out;
    outline: none;
}

.material-search-field input:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 1px var(--google-blue);
}

.material-search-field .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--google-secondary);
}

.material-checkbox {
    position: relative;
    display: inline-block;
}

.material-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.material-checkbox label {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.material-checkbox label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--google-secondary);
    border-radius: 2px;
    background-color: var(--google-surface);
    transition: all 0.2s ease-out;
}

.material-checkbox input[type="checkbox"]:checked + label:before {
    background-color: var(--google-blue);
    border-color: var(--google-blue);
}

.material-checkbox label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--google-surface);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.material-checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.material-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.material-dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.material-dialog {
    background-color: var(--google-surface);
    border-radius: 8px;
    box-shadow: var(--elevation-8);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.material-dialog-overlay.active .material-dialog {
    transform: scale(1);
}

.material-dialog-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--google-border);
}

.material-dialog-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--google-on-surface);
}

.material-dialog-content {
    padding: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--google-secondary);
}

.material-dialog-actions {
    padding: 8px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--google-border);
}

.material-snackbar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 288px;
    max-width: 568px;
    background-color: #323232;
    color: var(--google-surface);
    border-radius: 4px;
    padding: 14px 24px;
    font-size: 14px;
    box-shadow: var(--elevation-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.material-snackbar.active {
    opacity: 1;
    visibility: visible;
}

.material-snackbar-action {
    color: var(--google-blue);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 24px;
}

.material-progress {
    width: 100%;
    height: 4px;
    background-color: var(--google-border);
    border-radius: 2px;
    overflow: hidden;
}

.material-progress-bar {
    height: 100%;
    background-color: var(--google-blue);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.material-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--google-border);
    border-top-color: var(--google-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.material-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--google-blue);
    color: var(--google-surface);
    border: none;
    box-shadow: var(--elevation-8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
    z-index: 100;
}

.material-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
}

.material-fab svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.material-mobile-cards {
    display: none;
}

@media (max-width: 960px) {
    .material-data-table-container {
        display: none;
    }
    
    .material-mobile-cards {
        display: block;
    }
    
    .material-mobile-cards .user-card {
        margin-bottom: 16px;
    }
}