* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background-color: #f5f8fb;
    color: #333;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-title h1 {
    font-size: 2rem;
    margin: 0;
    color: #333;
}

.header-title p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
    color: #666;
}

header h1 {
    font-size: 2rem;
}

header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.auth-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.user-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #333;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.auth-container {
    text-align: center;
    max-width: 500px;
}

.auth-container h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.auth-container p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 1rem;
}

.user-info {
    margin-bottom: 3rem;
}

.user-info h3,
.users-list h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.info-card p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.info-card strong {
    color: #2c3e50;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background-color: #667eea;
    color: white;
}

.btn-primary:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background-color: #e74c3c;
    color: white;
}

.btn-secondary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-tiny {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

.btn-tiny:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: #ccc;
    color: #333;
    transform: none;
    box-shadow: none;
}

.btn-success {
    background-color: #27ae60;
    color: white;
}

.btn-success:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* macOS-style subtle buttons */
.btn-subtle {
    background: transparent;
    color: #666;
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-subtle:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: #333;
    transform: none;
    box-shadow: none;
}

footer {
    display: none;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .auth-container h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 1.5rem;
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alert Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid;
}

.alert-error {
    background-color: #fadbd8;
    border-left-color: #e74c3c;
    color: #c0392b;
}

.alert-success {
    background-color: #d5f4e6;
    border-left-color: #27ae60;
    color: #229954;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.nav-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #767676;
    transition: all 0.3s ease;
}

.nav-tab:hover {
    color: #667eea;
}

.nav-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.section-header button {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.section-header button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: #ccc;
    transform: none;
    box-shadow: none;
}

.master-detail-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brands-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.portal-card {
    cursor: pointer;
    border: 1px solid #dbe5f3;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover,
.portal-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(27, 45, 70, 0.14);
    border-color: #9ab0d9;
}

.portal-card p {
    color: #5a6a78;
    margin-bottom: 1rem;
}

.portal-entry-btn {
    margin-top: auto;
}

.portal-admin-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-back-btn {
    white-space: nowrap;
}

/* Items List */
.items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    column-gap: 2rem;
    row-gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

.item-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #dce4ef;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 8px rgba(26, 38, 56, 0.06);
}

.item-card:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(21, 36, 60, 0.12);
    border-color: #8aa7d6;
}

.item-card h4 {
    margin: 0;
    color: #243447;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.item-card p {
    margin: 0.25rem 0;
    color: #566779;
    font-size: 0.85rem;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.card-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.7rem;
    margin-bottom: 0.6rem;
}

.card-meta-item {
    background: #eef3fa;
    border: 1px solid #dbe4f1;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    min-height: 2.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-meta-label {
    color: #6f8091;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-meta-value {
    color: #2e4053;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
}

.card-meta-highlight {
    color: #2f5fa6;
}

.card-description {
    color: #5a6a78;
    font-size: 0.84rem;
    margin-bottom: 0.5rem;
}

.card-actions {
    margin-top: 0.8rem;
}

.card-empty-note {
    color: #8090a3;
    font-size: 0.82rem;
    margin-top: 0.55rem;
}

.item-actions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.item-card:hover .item-actions {
    opacity: 1;
}

.item-actions button {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

.item-actions button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: #ccc;
    color: #333;
}

.brand-overview {
    margin-top: 0.6rem;
    border-top: 1px solid #e6e6e6;
    padding-top: 0.6rem;
}

.brand-overview h5 {
    margin: 0 0 0.45rem 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #3e4c59;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.brand-overview ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.brand-overview-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 0.82rem;
}

.brand-overview-product {
    color: #2f3b46;
    font-weight: 600;
}

.brand-overview-translations {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
    max-width: 62%;
}

.brand-overview-note {
    color: #5e6d7b;
    font-size: 0.78rem;
}

.brand-overview-empty {
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: #8a8a8a;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-content.large {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-actions button {
    min-width: 120px;
}

/* Toolbar */
.indesign-toolbar {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

/* Translation fields */
.translation-field {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid #667eea;
}

.translation-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.translation-field input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.translation-field .original-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.label-history {
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 4px;
}

.label-history p {
    margin: 0;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d5f4e6;
    color: #229954;
}

.badge-info {
    background-color: #d6eaf8;
    color: #1f618d;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }

    .nav-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-tab.active {
        border-bottom: none;
        border-left-color: #667eea;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header button {
        width: 100%;
    }

    .items-list {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .portal-admin-actions {
        width: 100%;
    }

    .portal-admin-actions .btn {
        width: 100%;
    }

    .item-actions {
        flex-direction: column;
    }

    .item-actions button {
        width: 100%;
    }

    .card-meta-grid {
        grid-template-columns: 1fr;
    }

    .brand-overview-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .brand-overview-translations {
        justify-content: flex-start;
        max-width: 100%;
    }
}

/* Notifications */
#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
    max-width: 400px;
    display: none;
}

#notification.success {
    background-color: #4caf50;
    color: white;
    border-left: 4px solid #388e3c;
}

#notification.error {
    background-color: #f44336;
    color: white;
    border-left: 4px solid #c62828;
}

#notification.info {
    background-color: #2196f3;
    color: white;
    border-left: 4px solid #1565c0;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Translation fields styling */
.translation-field {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

.translation-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.translation-field input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.translation-field input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 4px rgba(102, 126, 234, 0.3);
}

.original-text {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Brands tree structure */
.brands-tree {
    display: grid;
}

.brand-tree-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border-radius: 4px;
    border: none;
    transition: background-color 0.15s ease;
}

.brand-tree-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.collapsible-header {
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    background-color: transparent;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    user-select: none;
    transition: background-color 0.15s ease;
}

.collapsible-header:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.collapse-icon {
    display: inline-block;
    width: 16px;
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.2s ease;
}

.item-count {
    font-size: 0.8rem;
    color: #999;
    margin-left: 0.5rem;
    font-weight: 400;
}

.collapsible-content {
    padding: 0.75rem;
    overflow: hidden;
    max-height: 10000px;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 1;
}

.collapsible-content.collapsed {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.brand-info, .product-info {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.brand-info p, .product-info p {
    margin: 0.25rem 0;
}

.brand-card h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.products-list {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.product-tree-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.product-tree-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.product-card h5 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.indesign-list {
    margin-top: 0.25rem;
    padding-left: 1.5rem;
}

.indesign-item {
    margin-bottom: 0.25rem;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border-radius: 4px;
    border: none;
    transition: background-color 0.15s ease;
}

.indesign-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.indesign-item strong {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
}

.labels-container::-webkit-scrollbar {
    width: 8px;
}

.labels-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.labels-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.labels-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.label-card {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

.label-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.label-id {
    font-weight: 700;
    color: #667eea;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    min-width: 60px;
    flex-shrink: 0;
}

.label-description-input {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
}

.label-description-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 3px rgba(102, 126, 234, 0.3);
}

.label-original {
    font-size: 0.8rem;
    color: #666;
    padding-left: 68px;
    line-height: 1.3;
}

.label-original strong {
    color: #333;
}

/* Translations List */
.translations-list {
    margin-top: 0.65rem;
    padding: 0.6rem;
    background-color: #f2f6fb;
    border-radius: 8px;
    border: 1px solid #dde7f4;
}

.translations-list h6 {
    margin: 0 0 0.45rem 0;
    color: #4a5e74;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.translations-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.translations-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.45rem;
    margin-bottom: 0.25rem;
    background-color: #ffffff;
    border: 1px solid #e2e9f4;
    border-radius: 6px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    flex-wrap: wrap;
}

.translations-list li:hover {
    background-color: #f8fbff;
    border-color: #c9d9ee;
}

.translations-list li:last-child {
    margin-bottom: 0;
}

.language-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.58rem;
    background-color: #edf3ff;
    color: #314e7c;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid #c9d8f0;
    min-width: 30px;
    text-align: center;
    white-space: nowrap;
}

.translation-version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
}

.translation-version-major {
    background-color: #e4f7ea;
    border-color: #9ad3ab;
    color: #1f7a35;
}

.translation-version-minor {
    background-color: #fff1df;
    border-color: #f1c27b;
    color: #b56200;
}

.translation-version-subversion {
    background-color: #fde7e7;
    border-color: #e8a6a6;
    color: #b42318;
}

@media (max-width: 768px) {
    #notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Translator Assignments */
.translator-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

#translatorAssignmentsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}
