.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.about-dialog {
    background: var(--color-bg-elevated);
    border-radius: 8px;
    padding: 0;
    width: 500px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border-default);
}

.about-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.about-header .close-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.about-header .close-btn:hover {
    background: var(--color-bg-hover);
    color: var(--color-text-primary);
}

.about-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-logo {
    width: 80px;
    height: 80px;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #569CD6, #4EC9B0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(86, 156, 214, 0.3);
}

.about-info {
    text-align: center;
}

.about-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.about-version {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.about-description {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    max-width: 400px;
}

.about-update {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.update-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--color-bg-overlay);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    color: var(--color-text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.update-btn:hover:not(:disabled) {
    background: var(--color-bg-hover);
    border-color: var(--color-primary);
}

.update-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.update-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
}

.update-status.status-checking {
    background: rgba(86, 156, 214, 0.1);
    color: #569CD6;
}

.update-status.status-available {
    background: rgba(78, 201, 176, 0.1);
    color: #4EC9B0;
}

.update-status.status-latest {
    background: rgba(78, 201, 176, 0.1);
    color: #4EC9B0;
}

.update-status.status-error {
    background: rgba(206, 145, 120, 0.1);
    color: #CE9178;
}

.update-status .status-available {
    color: #4EC9B0;
}

.update-status .status-latest {
    color: #4EC9B0;
}

.update-status .status-error {
    color: #CE9178;
}

.about-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.about-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.about-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.about-footer {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-default);
    text-align: center;
}

.about-footer p {
    margin: 0;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.about-actions {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border-default);
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    padding: 8px 24px;
    background: var(--color-primary);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}
