.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

/* Table styles */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Standard icon sizes */
.btn i {
    font-size: 1rem;
}

.menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.menu-card i {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}

.menu-card:hover i {
    background-color: rgba(0, 0, 0, 0.08);
}

.menu-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.menu-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Status badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Standard button sizes */
.btn-group .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Back to home button */
.back-to-home {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-home i {
    font-size: 1.5rem;
}

/* Page header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    margin-bottom: 0;
    font-weight: 600;
}

/* Search box */
.search-box {
    max-width: 300px;
}

/* Table hover effect */
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Card header with actions */
.card-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Language switcher styles */
.lang-switcher-top {
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 1050;
}

.lang-switcher-top .btn-group {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-switcher-top .btn-group .btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 2px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    position: relative;
    transition: all 0.15s ease !important;
    background: transparent !important;
}

.lang-switcher-top .btn-group .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.15s ease;
    border-radius: 50%;
}

.lang-switcher-top .btn-group .btn:hover::before {
    opacity: 1;
}

.lang-switcher-top .btn-group .btn.btn-primary {
    background: #0d6efd !important;
    color: white !important;
}

.lang-switcher-top .btn-group .btn.btn-primary:hover {
    background: #0b5ed7 !important;
}

.lang-switcher-top .btn-group .btn:not(.btn-primary) {
    color: #444 !important;
}

.lang-code {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

/* Adjust content padding for fixed language switcher */
.container-fluid {
    padding-top: 50px;
}

@media (max-width: 768px) {
    .lang-switcher-top {
        top: 5px;
        right: 10px;
    }
    
    .lang-switcher-top .btn-group .btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .lang-code {
        font-size: 0.7rem !important;
    }
}

/* Language switcher in sidebar */
.language-switcher {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 1rem 0;
}

.language-switcher .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50%;
    border-width: 2px;
    transition: all 0.3s ease;
    background-color: white;
}

.language-switcher .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.language-switcher .btn.active {
    background-color: #ffffff;
    color: #2c3e50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Adjust content padding for fixed language switcher */
.container-fluid {
    padding-top: 60px;
}
