* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: #666;
}

.error {
    background: #fee;
    color: #c00;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.error.account-disabled {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

/* Auth View */
.auth-view {
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    text-align: center;
    color: #722f37;
    margin-top: 10px;
    font-size: 2.5rem;
}

.mustache-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mustache-logo svg {
    display: block;
}

.auth-view form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-view h2 {
    margin-bottom: 20px;
    text-align: center;
}

.auth-view input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.auth-view button {
    width: 100%;
    padding: 12px;
    background: #722f37;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.auth-view button:disabled {
    opacity: 0.6;
}

.toggle-auth {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.toggle-auth a {
    color: #722f37;
}

.oauth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.oauth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.oauth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #888;
    font-size: 14px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.google-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.google-btn svg {
    flex-shrink: 0;
}

.auth-hint {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: -5px;
    margin-bottom: 10px;
}

/* Auth method badges in user menu */
.auth-methods {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.auth-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e0e0e0;
    color: #555;
}

.auth-badge.google {
    background: #e8f0fe;
    color: #1a73e8;
}

.auth-badge.admin {
    background: #fce4ec;
    color: #c2185b;
}

/* Modal description text */
.modal-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    background: #722f37;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: bold;
}

.navbar .brand .mustache-logo {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    padding: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.grape-logo {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links button {
    background: transparent;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.nav-links button:hover,
.nav-links button.active {
    background: rgba(255,255,255,0.2);
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.header button {
    background: #eee;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.header h2 {
    flex: 1;
}

.shared-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* Cellar List */
.cellar-list-view h2 {
    margin-bottom: 15px;
    color: #333;
}

.cellar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.cellar-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.cellar-card:hover {
    transform: translateY(-2px);
}

.cellar-card h3 {
    margin-bottom: 5px;
}

.cellar-card p {
    color: #666;
    font-size: 14px;
}

.cellar-card .badge {
    display: inline-block;
    background: #722f37;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 8px;
}

.cellar-card.shared {
    border-left: 4px solid #1976d2;
}

.cellar-card .owner {
    color: #1976d2;
    font-size: 12px;
    margin-top: 5px;
}

.cellar-card.add-card {
    border: 2px dashed #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.cellar-card.add-card .plus {
    font-size: 2rem;
}

/* Wine List */
.wine-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wine-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 15px;
    align-items: center;
}

.wine-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.wine-info {
    flex: 1;
}

.wine-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.wine-info p {
    font-size: 14px;
    color: #666;
}

.wine-info .meta {
    font-size: 12px;
    color: #888;
}

.wine-actions {
    display: flex;
    gap: 8px;
}

.wine-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.wine-actions button:first-child {
    background: #722f37;
    color: white;
}

.wine-actions button.danger {
    background: #f44336;
    color: white;
}

/* Tasting List */
.tasting-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tasting-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.tasting-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.tasting-main .cellar-info {
    font-size: 13px;
    color: #666;
    margin: 4px 0;
}

.tasting-main {
    flex: 1;
}

.tasting-main h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tasting-main p {
    font-size: 14px;
    color: #666;
}

.tasting-main .notes {
    margin: 8px 0;
    font-style: italic;
}

.tasting-main .date {
    font-size: 12px;
    color: #888;
}

.tasting-main .detailed-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.tasting-main .detailed-ratings span {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #555;
}

.tasting-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tasting-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #722f37;
    color: white;
}

.tasting-actions button.danger {
    background: #f44336;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star-rating .star {
    font-size: 1.3rem;
    color: #ffc107;
    cursor: pointer;
}

.star-rating .star.readonly {
    cursor: default;
}

/* Slider Rating */
.slider-rating {
    margin-bottom: 15px;
}

.slider-rating label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.slider-rating input {
    width: 100%;
}

/* Forms */
.tasting-form-view form,
.wine-form,
.cellar-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tasting-form-view input,
.tasting-form-view textarea,
.wine-form input,
.cellar-form input,
.cellar-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.tasting-form-view textarea {
    min-height: 100px;
    resize: vertical;
}

.tasting-form-view button[type="submit"],
.action-buttons button {
    width: 100%;
    padding: 12px;
    background: #722f37;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.tasting-form-view button:disabled,
.action-buttons button:disabled {
    opacity: 0.6;
}

.rating-section {
    margin: 20px 0;
}

.rating-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.characteristics {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.characteristics h4 {
    margin-bottom: 15px;
}

.notes-section {
    margin: 15px 0;
}

.notes-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.selected-wine {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.selected-wine h3 {
    margin-bottom: 5px;
}

.selected-wine button {
    margin-top: 10px;
    background: #666;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.cellar-link {
    color: #388e3c;
    font-size: 13px;
    margin-top: 5px;
}

/* Wine Search */
.wine-search {
    margin-bottom: 15px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.search-box input {
    flex: 1;
}

.search-box button {
    padding: 10px 20px;
    background: #722f37;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-results {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.search-result {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.search-result:hover {
    background: #f5f5f5;
}

.search-result span {
    font-size: 13px;
    color: #666;
}

/* Scan View */
.scan-view {
    text-align: center;
}

.scan-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 40px auto;
}

.file-upload {
    cursor: pointer;
}

.file-upload input {
    display: none;
}

.upload-btn {
    display: block;
    padding: 20px;
    background: #722f37;
    color: white;
    border-radius: 8px;
    font-size: 16px;
}

/* Scan Result */
.scan-result-view .scanned-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.matches-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.matches-section h3 {
    margin-bottom: 10px;
}

.matches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-item {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.match-item.selected {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

.match-item span {
    font-size: 13px;
    color: #666;
}

.match-type {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px !important;
}

.match-type.exact {
    background: #4caf50;
    color: white !important;
}

.match-type.similar {
    background: #ff9800;
    color: white !important;
}

.clear-match {
    margin-top: 10px;
    background: transparent;
    border: 1px solid #666;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Sharing View */
.sharing-view section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header button {
    background: #722f37;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.share-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-info strong {
    display: block;
}

.share-info span {
    font-size: 13px;
    color: #666;
}

.permissions {
    margin-top: 8px;
}

.perm {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-right: 5px;
}

.share-item button.danger {
    background: #f44336;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.perm-select {
    margin-bottom: 15px;
}

.perm-select label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.perm-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.empty {
    color: #666;
    font-style: italic;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
}

.empty-state p {
    margin-bottom: 15px;
    color: #666;
}

.empty-state button {
    background: #722f37;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-row button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-row button:first-child {
    background: #eee;
}

.button-row button:last-child {
    background: #722f37;
    color: white;
}

/* Help Modal */
.help-modal {
    max-width: 500px;
}

.help-modal section {
    margin-bottom: 20px;
}

.help-modal h3 {
    margin-bottom: 10px;
    color: #722f37;
}

.help-modal ul {
    padding-left: 20px;
}

.help-modal li {
    margin-bottom: 8px;
}

.help-modal button {
    width: 100%;
    padding: 12px;
    background: #722f37;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .wine-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wine-actions {
        width: 100%;
        margin-top: 10px;
    }
    
    .wine-actions button {
        flex: 1;
    }
}

/* User Avatar */
.user-avatar-container {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #722f37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s;
}

.user-avatar:hover {
    border-color: rgba(255,255,255,0.8);
}

.avatar-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
}

.avatar-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 200;
    overflow: hidden;
}

.avatar-menu-header {
    padding: 15px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.avatar-menu-header strong {
    display: block;
    color: #333;
}

.avatar-menu-header span {
    font-size: 13px;
    color: #666;
}

.avatar-menu-divider {
    height: 1px;
    background: #eee;
}

.avatar-menu button {
    display: block;
    width: 100%;
    padding: 12px 15px;
    text-align: left;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.avatar-menu button:hover {
    background: #f5f5f5;
}

/* Cellar card edit button */
.cellar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cellar-card-header h3 {
    flex: 1;
    margin-right: 8px;
}

.edit-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
}

.edit-btn:hover {
    background: rgba(0,0,0,0.1);
    color: #666;
}

/* Wine Catalog View */
.wine-list-view h2 {
    margin-bottom: 15px;
}

.wine-list-view .search-box {
    margin-bottom: 20px;
}

.wine-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.wine-catalog-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wine-catalog-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.wine-catalog-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.wine-catalog-item button {
    background: #722f37;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Tasting form improvements */
.wine-options {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.wine-options button {
    flex: 1;
}

button.secondary {
    background: #666;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

button.secondary:hover {
    background: #555;
}

button.full-width {
    width: 100%;
    margin-top: 10px;
}

.create-wine-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.create-wine-form h3 {
    margin-bottom: 15px;
}

.create-wine-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.no-results {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #856404;
}

/* Section header with button */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    margin: 0;
}

.section-header button {
    background: #722f37;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Scan Result Notifications */
.existing-wine-notice {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.existing-wine-notice p {
    color: #2e7d32;
    font-weight: 500;
    margin: 0;
}

.existing-wine-notice button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.existing-wine-notice button:hover {
    background: #388e3c;
}

.similar-wine-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.similar-wine-notice p {
    color: #856404;
    margin: 0;
}

/* OCR Detected Info */
.ocr-detected-info {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.ocr-detected-info .ocr-label {
    color: #1565c0;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ocr-detected-info span {
    display: inline-block;
    color: #1976d2;
    font-weight: 500;
    margin-right: 15px;
}

/* Action Buttons - improved layout */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.action-buttons button.secondary {
    background: #666;
}

.action-buttons button.secondary:hover {
    background: #555;
}

button.text-btn {
    background: transparent;
    color: #666;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

button.text-btn:hover {
    color: #333;
}

/* Admin View */
.admin-view h3 {
    margin: 20px 0 10px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #722f37;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.admin-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.admin-table .disabled-user {
    opacity: 0.5;
    background: #f5f5f5;
}

.admin-table .user-cell {
    display: flex;
    flex-direction: column;
}

.admin-table .user-cell strong {
    color: #333;
}

.admin-table .user-cell span {
    font-size: 12px;
    color: #888;
}

.admin-table .auth-methods {
    display: flex;
    gap: 4px;
}

.admin-table .auth-badge {
    font-size: 10px;
    padding: 2px 6px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #4caf50;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}
