:root {
    --primary-color: #1976d2;
    --secondary-color: #9c27b0;
    --success-color: #2e7d32;
    --error-color: #d32f2f;
    --warning-color: #ed6c02;
    --info-color: #0288d1;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding-top: 70px;
}

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn {
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-success {
    background-color: var(--success-color);
    border: none;
}

.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.medicine-entry {
    border: 1px solid rgba(0,0,0,0.12);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.expired {
    background-color: rgba(211, 47, 47, 0.1);
}

.low-stock {
    background-color: rgba(237, 108, 2, 0.1);
}

.form-control {
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.23);
    padding: 8px 12px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.form-label {
    font-weight: 500;
    color: rgba(0,0,0,0.87);
    margin-bottom: 4px;
}

.table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table thead th {
    background-color: #f5f5f5;
    border-bottom: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: rgba(0,0,0,0.87);
}

.table td {
    border-color: rgba(0,0,0,0.12);
    vertical-align: middle;
}

.alert-material {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.alert-material-success {
    background-color: var(--success-color);
    color: white;
}

.alert-material-error {
    background-color: var(--error-color);
    color: white;
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
