:root {
    --primary-color: #1976d2;
    --primary-light-color: #63a4ff;
    --primary-dark-color: #004ba0;
    --text-color-on-primary: #ffffff;
    --background-color: #f5f5f5;
    --surface-color: #ffffff;
    --on-surface-color: #000000;
    --divider-color: rgba(0, 0, 0, 0.12);
    --ripple-color: rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--on-surface-color);
    line-height: 1.5;
}

.app-bar {
    background-color: var(--primary-color);
    color: var(--text-color-on-primary);
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
}

.app-bar-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.container {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--surface-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card-header {
    padding: 16px;
    border-bottom: 1px solid var(--divider-color);
}

.card-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.card-title .material-icons {
    margin-right: 12px;
    color: var(--primary-color);
}

.card-content {
    padding: 16px;
    flex-grow: 1;
}

.card-actions {
    padding: 8px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.button {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: rgba(25, 118, 210, 0.08);
}

/* Ripple effect for buttons */
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--ripple-color);
    opacity: 0;
    border-radius: 50%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}
@keyframes ripple {
    0% {
        transform: scale(0, 0) translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}
