.card {
    height: 100%;
}

.field {
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.field label {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

#notes {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: auto;
}

.access-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, #fff 60%, #f8f8f8);
    border: 1px solid #ddd;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.access-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.access-card .card-header {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
}

.access-card .media {
    display: flex;
    align-items: center;
}

.access-card .icon {
    color: #555;
}

.access-card .card-content {
    padding: 1rem 1.5rem;
}

.access-card .card-content ul {
    margin-top: 0;
    padding-left: 1rem;
}

.access-card .card-content li {
    padding: 6px 0;
    font-size: 1rem;
    color: #444;
}

.action .icon {
    color: #ff9800;
}

.object .icon {
    color: #7cbed6;
}

.environment .icon {
    font-size: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    margin-right: 6px;
    border: 1px solid #111111;
    box-shadow: 0 1px 0 #111111;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.create { background: #2E7D32; }
.read   { background: #1565C0; }
.update { background: #FF8F00; }
.del    { background: #C62828; }

.crud-word {
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
}

.role-card {
    margin-bottom: 0.8rem;
}

.role-card .card-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#role-switcher-panel {
    border-radius: 16px;
    padding: 1rem 1.25rem 1.25rem;
    background-color: var(--card-bg);
}

#role-switcher-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

#role-switcher-subtitle {
    margin-bottom: 0.9rem;
    color: #555555;
}

#role-switcher {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-switcher-option {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px dashed #b5b5b5;
    background-color: #ffffff;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.role-switcher-option:hover {
    background-color: var(--card-bg-hover);
    transform: translateY(-1px);
}

.role-switcher-option input[type="radio"] {
    margin-right: 0.5rem;
}

.role-switcher-label {
    font-size: 0.95rem;
}

#role-trainer-note {
    color: #666666;
}
